X-Git-Url: http://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Flttngtoptypes.h;h=59fb772b2e3b0c34b4a453db28dd36de7da6b1a2;hp=c2b99c6680fe1664b0f7c1ce9d5ef14bfd49afc8;hb=bca0e79c3ab65b13f2e3d3711ddb17661052f24a;hpb=c8d75a13bc5c025053b0c2c14fa1a7dfdaa1b448 diff --git a/src/lttngtoptypes.h b/src/lttngtoptypes.h index c2b99c6..59fb772 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,7 +43,7 @@ struct processtop { unsigned int puuid; int pid; char *comm; - char *hostname; + struct host *host; int tid; int ppid; int vpid; @@ -78,6 +79,7 @@ struct cputime { struct processtop *current_task; unsigned long task_start; GHashTable *perf; + struct syscall *current_syscall; }; /* @@ -151,6 +153,12 @@ struct vmas { unsigned long page_faults; }; +struct syscall { + char *name; + unsigned long ts_start; + uint64_t cpu_id; +}; + struct syscalls { unsigned int id; unsigned long count; @@ -181,4 +189,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 */