X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Flttngtoptypes.h;h=15b861446cfd44e1cf22ba6015911ea1257984c9;hp=66b2079ee834ac04cff87d528450fb7d03c909fc;hb=1d74c4d1c6aaa6bcad2f2d4b02e720c0a318584d;hpb=1402044a1577c9b62b60f64fdb48ae9524be458c diff --git a/src/lttngtoptypes.h b/src/lttngtoptypes.h index 66b2079..15b8614 100644 --- a/src/lttngtoptypes.h +++ b/src/lttngtoptypes.h @@ -25,6 +25,7 @@ struct lttngtop { 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; @@ -42,6 +43,7 @@ struct processtop { unsigned int puuid; int pid; char *comm; + struct host *host; int tid; int ppid; int vpid; @@ -77,6 +79,7 @@ struct cputime { struct processtop *current_task; unsigned long task_start; GHashTable *perf; + struct syscall *current_syscall; }; /* @@ -150,6 +153,11 @@ struct vmas { unsigned long page_faults; }; +struct syscall { + char *name; + unsigned long ts_start; +}; + struct syscalls { unsigned int id; unsigned long count; @@ -180,4 +188,17 @@ struct header_view { int reverse; }; +struct kprobes { + char *probe_name; + char *symbol_name; + int probe_addr; + int probe_offset; + int count; +}; + +struct host { + char *hostname; + int filter; +}; + #endif /* LTTNGTOPTYPES_H */