Project

General

Profile

Actions

Bug #931

closed

Untracking a userspace pid which is not tracked results in an invalid parameter error

Added by Jérémie Galarneau about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
09/04/2015
Due date:
% Done:

100%

Estimated time:

Description

Untracking a user space pid which is not tracked results in an invalid parameter error which is inconsistent with the output provided when the same action is performed on the kernel domain.

Userspace:

$ lttng create test
Session test created.
Traces will be written in /home/jgalar/lttng-traces/test-20150904-172530
$ lttng untrack -u -p 555
Error: Invalid parameter
Error: Command error

Kernel:

$ lttng create test
Session test created.
Traces will be written in /home/jgalar/lttng-traces/test-20150904-173144

$ lttng untrack -k -p 555
Warning: PID 555 not tracked in session test

Actions #1

Updated by Jérémie Galarneau about 9 years ago

  • Status changed from Confirmed to Resolved
  • % Done changed from 0 to 100

Applied in changeset tools|commit:b894343d659df2f6aa9ed50532fd4d8c0757e089.

Actions

Also available in: Atom PDF