X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fcommon.h;h=d3616a2d136fa237fb4ffe51dd95b77623e189be;hp=2949142573f407ec89496cc41dd4abf5d386a1ff;hb=58b6d0bfd897e4e62d58554f5a3704a9beaae407;hpb=08d1cfbe1125c517ca557ce7c23e7ce46815623a diff --git a/src/common.h b/src/common.h index 2949142..d3616a2 100644 --- a/src/common.h +++ b/src/common.h @@ -32,15 +32,18 @@ GPtrArray *copies; /* struct lttngtop */ GHashTable *global_perf_liszt; GHashTable *global_filter_list; GHashTable *global_host_list; +GHashTable *global_procname_list; char *opt_tid; -char *opt_hostname; +char *opt_procname; char *opt_relay_hostname; char *opt_kprobes; char *opt_exec_name; char **opt_exec_argv; char **opt_exec_env; int opt_exec_pid; +char *opt_output; +FILE *output; GHashTable *tid_filter_list; int remote_live; @@ -100,5 +103,7 @@ struct host *lookup_hostname_list(const char *hostname); int is_hostname_filtered(const char *hostname); struct host *add_hostname_list(char *hostname, int filter); void update_hostname_filter(struct host *host); +char *lookup_procname(const char *procname); +char *add_procname_list(char *procname, int filter); #endif /* _COMMON_H */