X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Flttngtoptypes.h;h=15b861446cfd44e1cf22ba6015911ea1257984c9;hp=e01f804f19039a8004623f214c3ff5699fc7a96f;hb=1d74c4d1c6aaa6bcad2f2d4b02e720c0a318584d;hpb=30b646c4e7aab1e1bee8fef60619a61bd80bedad diff --git a/src/lttngtoptypes.h b/src/lttngtoptypes.h index e01f804..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,14 +43,14 @@ struct processtop { unsigned int puuid; int pid; char *comm; + struct host *host; 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; @@ -78,6 +79,7 @@ struct cputime { struct processtop *current_task; unsigned long task_start; GHashTable *perf; + struct syscall *current_syscall; }; /* @@ -151,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; @@ -181,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 */