X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Flttngtop.c;h=2672c8f74bcffd91dac9c58c47eda1ca9239f2a7;hp=26da96786455021678a80a6fecd50448a9baa49b;hb=906c08f6245d165f7ccc3d0336714b425169d406;hpb=da4353bbbb28c19bd28447018edb94845ae71673 diff --git a/src/lttngtop.c b/src/lttngtop.c index 26da967..2672c8f 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -458,7 +458,7 @@ enum bt_cb_ret fix_process_table(struct bt_ctf_event *call_data, /* find or create the current process */ child = find_process_tid(<tngtop, tid, comm); if (!child) - child = add_proc(<tngtop, tid, comm, timestamp); + child = add_proc(<tngtop, tid, comm, timestamp, hostname); if (!child) goto end; update_proc(child, pid, tid, ppid, vpid, vtid, vppid, comm, hostname); @@ -467,7 +467,7 @@ enum bt_cb_ret fix_process_table(struct bt_ctf_event *call_data, /* find or create the parent */ parent = find_process_tid(<tngtop, pid, comm); if (!parent) { - parent = add_proc(<tngtop, pid, comm, timestamp); + parent = add_proc(<tngtop, pid, comm, timestamp, hostname); if (parent) parent->pid = pid; }