Messages in this thread Patch in this message | | | Subject | [PATCH 6.5/9] perf_counter: fix track task-comm data | From | Peter Zijlstra <> | Date | Wed, 08 Apr 2009 19:03:17 +0200 |
| |
On Wed, 2009-04-08 at 15:01 +0200, Peter Zijlstra wrote: > plain text document attachment (perf_counter-comm.patch) > Similar to the mmap data stream, add one that tracks the task COMM field, > so that the userspace reporting knows what to call a task.
Seems I forgot the !PERF_COUNTER case.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- include/linux/perf_counter.h | 1 + 1 file changed, 1 insertion(+)
Index: linux-2.6/include/linux/perf_counter.h =================================================================== --- linux-2.6.orig/include/linux/perf_counter.h +++ linux-2.6/include/linux/perf_counter.h @@ -597,6 +597,7 @@ static inline void perf_counter_munmap(unsigned long addr, unsigned long len, unsigned long pgoff, struct file *file) { } +static inline void perf_counter_comm(struct task_struct *tsk) { } #endif #endif /* __KERNEL__ */
| |