projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement PID tracking
[lttng-modules.git]
/
lttng-abi.c
diff --git
a/lttng-abi.c
b/lttng-abi.c
index 5823a1db042d6fa8aa5e88bef4a35235bf5eea4e..f3d98fc1fd561fc4244854bcc4d3396bdfbcbabf 100644
(file)
--- a/
lttng-abi.c
+++ b/
lttng-abi.c
@@
-423,6
+423,10
@@
fd_error:
* Disables tracing for a session (strong disable)
* LTTNG_KERNEL_METADATA
* Returns a LTTng metadata file descriptor
* Disables tracing for a session (strong disable)
* LTTNG_KERNEL_METADATA
* Returns a LTTng metadata file descriptor
+ * LTTNG_KERNEL_SESSION_TRACK_PID
+ * Add PID to session tracker
+ * LTTNG_KERNEL_SESSION_UNTRACK_PID
+ * Remove PID from session tracker
*
* The returned channel will be deleted when its file descriptor is closed.
*/
*
* The returned channel will be deleted when its file descriptor is closed.
*/
@@
-502,6
+506,10
@@
long lttng_session_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
return lttng_abi_create_channel(file, &chan_param,
METADATA_CHANNEL);
}
return lttng_abi_create_channel(file, &chan_param,
METADATA_CHANNEL);
}
+ case LTTNG_KERNEL_SESSION_TRACK_PID:
+ return lttng_session_track_pid(session, (int) arg);
+ case LTTNG_KERNEL_SESSION_UNTRACK_PID:
+ return lttng_session_untrack_pid(session, (int) arg);
default:
return -ENOIOCTLCMD;
}
default:
return -ENOIOCTLCMD;
}
This page took
0.024172 seconds
and
4
git commands to generate.