diff options
author | Igor Nabirushkin <inabirushkin@nvidia.com> | 2012-11-27 15:41:55 -0600 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:00:50 -0700 |
commit | d7c64bbb98174491b44b0dd905a25a0500bf7ff6 (patch) | |
tree | 1e4b33aeb3c1fe1e060b2dfc01c6d188b2d68e50 /init | |
parent | 5684e28e3ccf89768df792fcead819863362e069 (diff) |
ARM: perf: Android backtracing for Perf
This patch changes default function stack format that Perf
profiler uses for backtracing. With this patch enabled Perf
profiler will use stack format of the Android OS for its
operation.
Bug 983412
Change-Id: Ic767533540111e3a79d5a00d1942e9512aff1a76
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/200210
(cherry picked from commit 9f47a70674ce651275780c34f3112d70ef56b467)
Reviewed-on: http://git-master/r/203347
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Ryan Bissell <rbissell@nvidia.com>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index d6660c5b4d76..0486e886586a 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1486,6 +1486,20 @@ config PERF_EVENTS Say Y if unsure. +config PERF_ANDROID_BACKTRACE + default n + bool "Backtracing support for the Perf tool on Android" + depends on PERF_EVENTS + help + This config changes default function stack format that Perf + profiler uses for backtracing. With this config enabled Perf + profiler will use stack format of the Android OS for its + operation. + + Say Y only if this kernel will be used with Android OS. + + Say N if unsure. + config DEBUG_PERF_USE_VMALLOC default n bool "Debug: use vmalloc to back perf mmap() buffers" |