2 * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com)
4 * Wrapper around task_prio call.
6 * Dual LGPL v2.1/GPL v2 license.
9 #include <linux/kallsyms.h>
10 #include <linux/sched.h>
12 void (*wrapper_task_prio_sym
)(struct task_struct
*t
);
14 int wrapper_task_prio_init(void)
16 wrapper_task_prio_sym
= (void *) kallsyms_lookup_name("task_prio");
17 if (!wrapper_task_prio_sym
) {
18 printk(KERN_WARNING
"LTTng: task_prio symbol lookup failed.\n");
This page took 0.031008 seconds and 5 git commands to generate.