misc: tegra-profiler: add unwind entry checking
authorDmitry Antipov <dantipov@nvidia.com>
Fri, 20 Mar 2015 12:23:53 +0000 (15:23 +0300)
committerBharat Nihalani <bnihalani@nvidia.com>
Thu, 2 Apr 2015 12:36:57 +0000 (05:36 -0700)
commit3a68f6164a4652d027fd2e62d7eb7d5ec5906dbc
tree9ebe9c8255f77efa81bbacdb9bb65c89409f3790
parent0da503287357665d5249c747b1eba1ec89915f11
misc: tegra-profiler: add unwind entry checking

Use simple disassembler to verify unwind table entry against function code.

Bug 1618651

Signed-off-by: Dmitry Antipov <dantipov@nvidia.com>
Change-Id: Ib75b50f1bb753b7358fcc08107bfefc3133b4f0c
Reviewed-on: http://git-master/r/714784
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/misc/tegra-profiler/Makefile
drivers/misc/tegra-profiler/backtrace.c
drivers/misc/tegra-profiler/backtrace.h
drivers/misc/tegra-profiler/disassembler.c [new file with mode: 0644]
drivers/misc/tegra-profiler/disassembler.h [new file with mode: 0644]
drivers/misc/tegra-profiler/dwarf_unwind.c
drivers/misc/tegra-profiler/eh_unwind.c
drivers/misc/tegra-profiler/hrt.c
drivers/misc/tegra-profiler/version.h
include/linux/tegra_profiler.h