X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttngtoptypes.h;h=e01f804f19039a8004623f214c3ff5699fc7a96f;hb=1a70b8acdfee3652b0295827825919d710c26486;hp=d228f277c0b0c442eecc5d7d9207c809518b6177;hpb=ceb3a2216fed5f405aa77c358328f71f44ed3303;p=lttngtop.git diff --git a/src/lttngtoptypes.h b/src/lttngtoptypes.h index d228f27..e01f804 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,10 +21,10 @@ #include struct lttngtop { + GHashTable *process_hash_table; /* struct processtop */ 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; @@ -173,4 +173,12 @@ struct file_info { int status; }; +/* header for cputop display */ +struct header_view { + char *title; + int visible; + int sort; + int reverse; +}; + #endif /* LTTNGTOPTYPES_H */