X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fcputop.c;h=4596f28b674ddd3b0b0c4a2e43ccc2c45bdeb11b;hp=a2e5af9505afad7d0c6d31435ea76fb241f09e78;hb=54645d5cab414bb3391837ef7acb919cf106c71f;hpb=6e11e0d0eebdfe842bc7153ad9e28947b3cb3365 diff --git a/src/cputop.c b/src/cputop.c index a2e5af9..4596f28 100644 --- a/src/cputop.c +++ b/src/cputop.c @@ -130,6 +130,9 @@ enum bt_cb_ret handle_sched_process_free(struct bt_ctf_event *call_data, fprintf(stderr, "Missing tid field\n"); goto error; } + if (tid == opt_exec_pid) { + quit = 1; + } death_proc(<tngtop, tid, comm, timestamp);