X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Flttngtoptypes.h;h=43b3381b1777110c771099741f8908d3d6e43b9f;hp=16801d3e335b50da211817d323866f9bf0a80a98;hb=246d59926e23f5cdf6f017ae7544f2582b666ef7;hpb=89f1e0d139842127e678b90394cbf5ccb1b5ea44 diff --git a/src/lttngtoptypes.h b/src/lttngtoptypes.h index 16801d3..43b3381 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,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,12 @@ struct header_view { int reverse; }; +struct kprobes { + char *probe_name; + char *symbol_name; + int probe_addr; + int probe_offset; + int count; +}; + #endif /* LTTNGTOPTYPES_H */