Update licensing info
[lttng-modules.git] / ltt-debugfs-abi.c
index afdc09a61ad8eb0dcc1e39be75ec8be03d6a2169..e192474d5bac68664039c222a30f48d0dedb0959 100644 (file)
@@ -20,6 +20,8 @@
  *     - 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>
@@ -152,6 +154,10 @@ long lttng_abi_add_context(struct file *file,
        switch (context_param.ctx) {
        case LTTNG_KERNEL_CONTEXT_PID:
                return lttng_add_pid_to_ctx(ctx);
+       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;
        case LTTNG_KERNEL_CONTEXT_COMM:
This page took 0.027559 seconds and 4 git commands to generate.