X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon.c;h=31fa9055ce59548b42e134704d71be77f536638a;hb=32cef6e598347f7e15b6dfdfc840b30e556f0919;hp=0a38bf36423769d069eaed4accf28b47fce4e678;hpb=3160c7a916d5c865915f212b37a842723e646782;p=lttngtop.git diff --git a/src/common.c b/src/common.c index 0a38bf3..31fa905 100644 --- a/src/common.c +++ b/src/common.c @@ -164,7 +164,7 @@ char *get_context_hostname(const struct bt_ctf_event *event) * To get the parent process, put the pid in the tid field * because the parent process gets pid = tid */ -struct processtop *find_process_tid(struct lttngtop *ctx, int tid, char *comm) +struct processtop *find_process_tid(struct lttngtop *ctx, int tid, const char *comm) { struct processtop *tmp;