X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flttngtop.c;fp=src%2Flttngtop.c;h=69a0f506e55941a7b7145859b0b19e21c81cff7e;hb=3f0a529809259e965b4a1db8f818cadfc3041831;hp=241adda7f68deec510f0c0a3423f4f10e207e23b;hpb=9aa7616e71a85e91ec82d577b5b0cb05889e6e46;p=lttngtop.git diff --git a/src/lttngtop.c b/src/lttngtop.c index 241adda..69a0f50 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; }