X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Flttngtoptypes.h;h=a4cb022252050fde7edc0df3abf472f5d1e95f47;hp=683bc302e1b8980e9daec4e78b6f4899ad92ac60;hb=3b15348ccad727f0d6232af738efa96b20ebc56a;hpb=71bd7ce14826a0d7067c45657f33080e546cd5dc diff --git a/src/lttngtoptypes.h b/src/lttngtoptypes.h index 683bc30..a4cb022 100644 --- a/src/lttngtoptypes.h +++ b/src/lttngtoptypes.h @@ -24,7 +24,6 @@ struct lttngtop { GPtrArray *process_table; /* struct processtop */ GPtrArray *files_table; /* struct files */ GPtrArray *cpu_table; /* struct cputime */ - GHashTable *perf_list; /* struct perfcounter */ unsigned long start; unsigned long end; unsigned int nbproc; @@ -103,6 +102,7 @@ struct files { int oldfd; int device; int openmode; + int flag; unsigned long openedat; unsigned long closedat; unsigned long lastaccess; @@ -172,4 +172,12 @@ struct file_info { int status; }; +/* header for cputop display */ +struct cputopview { + char *title; + int visible; + int sort; + int reverse; +}; + #endif /* LTTNGTOPTYPES_H */