Files
linux-apfs/arch/sh/kernel
Frederic Weisbecker 56962b4449 perf: Generalize some arch callchain code
- Most archs use one callchain buffer per cpu, except x86 that needs
  to deal with NMIs. Provide a default perf_callchain_buffer()
  implementation that x86 overrides.

- Centralize all the kernel/user regs handling and invoke new arch
  handlers from there: perf_callchain_user() / perf_callchain_kernel()
  That avoid all the user_mode(), current->mm checks and so...

- Invert some parameters in perf_callchain_*() helpers: entry to the
  left, regs to the right, following the traditional (dst, src).

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Tested-by: Will Deacon <will.deacon@arm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: David Miller <davem@davemloft.net>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Borislav Petkov <bp@amd64.org>
2010-08-19 01:30:59 +02:00
..
2010-05-22 17:12:23 +09:00
2010-03-09 11:57:18 +09:00
2010-01-12 15:22:26 +09:00
2010-04-26 19:08:55 +09:00
2010-06-02 16:31:42 +09:00
2010-04-26 19:08:55 +09:00
2010-04-26 19:08:55 +09:00
2010-07-14 17:14:00 +10:00
2009-10-13 13:32:19 +09:00
2010-04-26 16:08:27 +09:00
2010-02-15 14:49:37 +09:00
2010-01-20 16:42:52 +09:00
2010-07-14 17:14:00 +10:00
2010-01-12 18:42:52 +09:00
2010-02-15 14:49:37 +09:00
2009-09-23 18:13:10 -07:00
2009-09-23 18:13:10 -07:00
2010-03-12 15:52:32 -08:00
2010-01-19 17:00:06 +09:00
2010-01-19 17:00:31 +09:00