Merge tag 'v3.10.55' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / prio_tracer.h
1 #ifndef _PRIO_TRACER_H
2 #define _PRIO_TRACER_H
3
4 #include <linux/sched.h>
5
6 #define PTS_DEFAULT_PRIO (-101)
7
8 #define PTS_USER 0
9 #define PTS_KRNL 1
10 #define PTS_BNDR 2
11
12 extern void create_prio_tracer(pid_t tid);
13 extern void delete_prio_tracer(pid_t tid);
14
15 extern void update_prio_tracer(pid_t tid, int prio, int policy, int kernel);
16
17 extern void set_user_nice_syscall(struct task_struct *p, long nice);
18 extern void set_user_nice_binder(struct task_struct *p, long nice);
19 extern int sched_setscheduler_syscall(struct task_struct *, int, const struct sched_param *);
20 extern int sched_setscheduler_nocheck_binder(struct task_struct *, int, const struct sched_param *);
21 #endif