X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fcommon.h;fp=src%2Fcommon.h;h=2949142573f407ec89496cc41dd4abf5d386a1ff;hp=3b93c63db239f2275c07cd7a0716203feaab1912;hb=08d1cfbe1125c517ca557ce7c23e7ce46815623a;hpb=796712db4b65553e3f31213c2c2c2c9ad7a686b6 diff --git a/src/common.h b/src/common.h index 3b93c63..2949142 100644 --- a/src/common.h +++ b/src/common.h @@ -51,7 +51,7 @@ extern int quit; 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,