X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flttngtoptypes.h;h=66b2079ee834ac04cff87d528450fb7d03c909fc;hb=d447e588dea16d633c9104581f7303b343d3bf50;hp=711b975f1adc4a47b4979641145fb9b0020698ae;hpb=0d91c12a62aa85d1d1d8b5478e81d38e06f2cc00;p=lttngtop.git diff --git a/src/lttngtoptypes.h b/src/lttngtoptypes.h index 711b975..66b2079 100644 --- a/src/lttngtoptypes.h +++ b/src/lttngtoptypes.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 Julien Desfossez + * Copyright (C) 2011-2012 Julien Desfossez * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License Version 2 as @@ -21,6 +21,7 @@ #include struct lttngtop { + GHashTable *process_hash_table; /* struct processtop */ GPtrArray *process_table; /* struct processtop */ GPtrArray *files_table; /* struct files */ GPtrArray *cpu_table; /* struct cputime */ @@ -43,12 +44,11 @@ struct processtop { char *comm; int tid; int ppid; - int oldpid; - int oldtid; - int oldppid; + int vpid; + int vtid; + int vppid; unsigned long birth; unsigned long death; - unsigned long lastactivity; /* Files managing */ GPtrArray *process_files_table; struct file_history *files_history; @@ -172,4 +172,12 @@ struct file_info { int status; }; +/* header for cputop display */ +struct header_view { + char *title; + int visible; + int sort; + int reverse; +}; + #endif /* LTTNGTOPTYPES_H */