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 over 9 years ago. Updated over 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

Also available in: Atom PDF