X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flttngtoptypes.h;h=21e65a2aea6b0bac4e1f5dc3db3258e116b5ad50;hb=ea5d1dc99544231b4e2085ad706fcc1fa6260faa;hp=c69ea0192c56657b1eb99ab850f7324fec5c1dd8;hpb=aa15ac1c699ea5f76f6c26fb14ab22f725ecc293;p=lttngtop.git diff --git a/src/lttngtoptypes.h b/src/lttngtoptypes.h index c69ea01..21e65a2 100644 --- a/src/lttngtoptypes.h +++ b/src/lttngtoptypes.h @@ -21,9 +21,11 @@ #include struct lttngtop { + GHashTable *process_hash_table; /* struct processtop */ GPtrArray *process_table; /* struct processtop */ GPtrArray *files_table; /* struct files */ GPtrArray *cpu_table; /* struct cputime */ + GPtrArray *kprobes_table; /* struct kprobes */ unsigned long start; unsigned long end; unsigned int nbproc; @@ -41,14 +43,14 @@ struct processtop { unsigned int puuid; int pid; char *comm; + char *hostname; 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; @@ -180,4 +182,16 @@ struct header_view { int reverse; }; +struct kprobes { + char *probe_name; + char *symbol_name; + int probe_addr; + int probe_offset; + int count; +}; + +struct hosts { + char *hostname; +}; + #endif /* LTTNGTOPTYPES_H */