diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/tegra_profiler.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/tegra_profiler.h b/include/linux/tegra_profiler.h index c55f25b57..edca37b25 100644 --- a/include/linux/tegra_profiler.h +++ b/include/linux/tegra_profiler.h | |||
| @@ -31,6 +31,7 @@ extern void __quadd_task_sched_out(struct task_struct *prev, | |||
| 31 | extern void __quadd_event_mmap(struct vm_area_struct *vma); | 31 | extern void __quadd_event_mmap(struct vm_area_struct *vma); |
| 32 | extern void __quadd_event_fork(struct task_struct *task); | 32 | extern void __quadd_event_fork(struct task_struct *task); |
| 33 | extern void __quadd_event_exit(struct task_struct *task); | 33 | extern void __quadd_event_exit(struct task_struct *task); |
| 34 | extern void __quadd_event_comm(struct task_struct *task, bool exec); | ||
| 34 | 35 | ||
| 35 | static inline void quadd_task_sched_in(struct task_struct *prev, | 36 | static inline void quadd_task_sched_in(struct task_struct *prev, |
| 36 | struct task_struct *task) | 37 | struct task_struct *task) |
| @@ -59,6 +60,11 @@ static inline void quadd_event_exit(struct task_struct *task) | |||
| 59 | __quadd_event_exit(task); | 60 | __quadd_event_exit(task); |
| 60 | } | 61 | } |
| 61 | 62 | ||
| 63 | static inline void quadd_event_comm(struct task_struct *task, bool exec) | ||
| 64 | { | ||
| 65 | __quadd_event_comm(task, exec); | ||
| 66 | } | ||
| 67 | |||
| 62 | #else /* CONFIG_TEGRA_PROFILER */ | 68 | #else /* CONFIG_TEGRA_PROFILER */ |
| 63 | 69 | ||
| 64 | static inline void quadd_task_sched_in(struct task_struct *prev, | 70 | static inline void quadd_task_sched_in(struct task_struct *prev, |
| @@ -83,6 +89,10 @@ static inline void quadd_event_exit(struct task_struct *task) | |||
| 83 | { | 89 | { |
| 84 | } | 90 | } |
| 85 | 91 | ||
| 92 | static inline void quadd_event_comm(struct task_struct *task, bool exec) | ||
| 93 | { | ||
| 94 | } | ||
| 95 | |||
| 86 | #endif /* CONFIG_TEGRA_PROFILER */ | 96 | #endif /* CONFIG_TEGRA_PROFILER */ |
| 87 | 97 | ||
| 88 | #endif /* __TEGRA_PROFILER_H */ | 98 | #endif /* __TEGRA_PROFILER_H */ |
