X-Git-Url: http://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fcommon.c;h=31fa9055ce59548b42e134704d71be77f536638a;hp=0a38bf36423769d069eaed4accf28b47fce4e678;hb=08d1cfbe1125c517ca557ce7c23e7ce46815623a;hpb=796712db4b65553e3f31213c2c2c2c9ad7a686b6 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;