X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Flttngtoptypes.h;h=c2b99c6680fe1664b0f7c1ce9d5ef14bfd49afc8;hp=a4cb022252050fde7edc0df3abf472f5d1e95f47;hb=c8d75a13bc5c025053b0c2c14fa1a7dfdaa1b448;hpb=3b15348ccad727f0d6232af738efa96b20ebc56a diff --git a/src/lttngtoptypes.h b/src/lttngtoptypes.h index a4cb022..c2b99c6 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 */ @@ -41,14 +42,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; @@ -173,7 +174,7 @@ struct file_info { }; /* header for cputop display */ -struct cputopview { +struct header_view { char *title; int visible; int sort;