projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update licensing info
[lttng-modules.git]
/
ltt-debugfs-abi.c
diff --git
a/ltt-debugfs-abi.c
b/ltt-debugfs-abi.c
index d8164ffc360abac632f4c2ad9372e60fc204e085..e192474d5bac68664039c222a30f48d0dedb0959 100644
(file)
--- a/
ltt-debugfs-abi.c
+++ b/
ltt-debugfs-abi.c
@@
-20,6
+20,8
@@
* - Takes an instrumentation source as parameter
* - e.g. tracepoints, dynamic_probes...
* - Takes instrumentation source specific arguments.
* - Takes an instrumentation source as parameter
* - e.g. tracepoints, dynamic_probes...
* - Takes instrumentation source specific arguments.
+ *
+ * Dual LGPL v2.1/GPL v2 license.
*/
#include <linux/module.h>
*/
#include <linux/module.h>
@@
-150,10
+152,16
@@
long lttng_abi_add_context(struct file *file,
return -EFAULT;
switch (context_param.ctx) {
return -EFAULT;
switch (context_param.ctx) {
- case LTTNG_CONTEXT_PID:
+ case LTTNG_
KERNEL_
CONTEXT_PID:
return lttng_add_pid_to_ctx(ctx);
return lttng_add_pid_to_ctx(ctx);
- case LTTNG_CONTEXT_PERF_COUNTER:
+ case LTTNG_KERNEL_CONTEXT_PRIO:
+ return lttng_add_prio_to_ctx(ctx);
+ case LTTNG_KERNEL_CONTEXT_NICE:
+ return lttng_add_nice_to_ctx(ctx);
+ case LTTNG_KERNEL_CONTEXT_PERF_COUNTER:
return -ENOSYS;
return -ENOSYS;
+ case LTTNG_KERNEL_CONTEXT_COMM:
+ return lttng_add_comm_to_ctx(ctx);
default:
return -EINVAL;
}
default:
return -EINVAL;
}
This page took
0.026704 seconds
and
4
git commands to generate.