char *opt_hostname;
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;
struct lttngtop *data;
-struct processtop *find_process_tid(struct lttngtop *ctx, int pid, char *comm);
+struct processtop *find_process_tid(struct lttngtop *ctx, int pid, const char *comm);
struct processtop* add_proc(struct lttngtop *ctx, int pid, char *comm,
unsigned long timestamp, char *hostname);
struct processtop* update_proc(struct processtop* proc, int pid, int tid,