kprobe support
[lttngtop.git] / src / lttngtoptypes.h
index d228f277c0b0c442eecc5d7d9207c809518b6177..43b3381b1777110c771099741f8908d3d6e43b9f 100644 (file)
@@ -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
 #include <glib.h>
 
 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 */
+       GPtrArray *kprobes_table;       /* struct kprobes */
        unsigned long start;
        unsigned long end;
        unsigned int nbproc;
@@ -42,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;
@@ -173,4 +174,20 @@ struct file_info {
        int status;
 };
 
+/* header for cputop display */
+struct header_view {
+       char *title;
+       int visible;
+       int sort;
+       int reverse;
+};
+
+struct kprobes {
+       char *probe_name;
+       char *symbol_name;
+       int probe_addr;
+       int probe_offset;
+       int count;
+};
+
 #endif /* LTTNGTOPTYPES_H */
This page took 0.025339 seconds and 4 git commands to generate.