diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-04-06 05:45:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-07 04:48:54 -0400 |
commit | 9c03d88e328d5f28f13191622c2ea1349c36b799 (patch) | |
tree | 3c9c9757f9cada69ac32a04dba7e18be99d224dc /include/linux/perf_counter.h | |
parent | a2e87d06ddbe6e6fdb8d6d2e5e985efe4efb07dd (diff) |
perf_counter: add more context information
Change the callchain context entries to u16, so as to gain some space.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
LKML-Reference: <20090406094517.457320003@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r-- | include/linux/perf_counter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index e22ab47a2f41..f9d5cf0bfbdd 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
@@ -507,10 +507,10 @@ extern void perf_counter_mmap(unsigned long addr, unsigned long len, | |||
507 | extern void perf_counter_munmap(unsigned long addr, unsigned long len, | 507 | extern void perf_counter_munmap(unsigned long addr, unsigned long len, |
508 | unsigned long pgoff, struct file *file); | 508 | unsigned long pgoff, struct file *file); |
509 | 509 | ||
510 | #define MAX_STACK_DEPTH 254 | 510 | #define MAX_STACK_DEPTH 255 |
511 | 511 | ||
512 | struct perf_callchain_entry { | 512 | struct perf_callchain_entry { |
513 | u32 nr, hv, kernel, user; | 513 | u16 nr, hv, kernel, user; |
514 | u64 ip[MAX_STACK_DEPTH]; | 514 | u64 ip[MAX_STACK_DEPTH]; |
515 | }; | 515 | }; |
516 | 516 | ||