linux/drivers/android
Prateek Sood fbbc48ef18 ANDROID: ftrace: vendor hook for ftrace dump on oops
Add following vendor hooks in ftrace oops path to allow
vendor modules to get ftrace buffer data.

1) android_vh_ftrace_oops_enter
2) android_vh_ftrace_size_check
3) android_vh_ftrace_format_check
4) android_vh_ftrace_dump_buffer
5) android_vh_ftrace_oops_exit

Ftrace dump on oops can be controlled with kernel command
line parameter ftrace_dump_on_oops.

Bug: 177387994
Change-Id: I898026bfc3e5c5c5ab1eaa0e86a019a6a720408e
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
2021-01-29 23:25:45 +00:00
..
binder_alloc_selftest.c binder: print warnings when detecting oneway spamming. 2020-09-03 18:24:41 +02:00
binder_alloc.c binder: add flag to clear buffer on txn complete 2020-12-09 15:41:21 +01:00
binder_alloc.h binder: add flag to clear buffer on txn complete 2020-12-09 15:41:21 +01:00
binder_internal.h Merge 2911ed9f47 ("Merge tag 'char-misc-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc") into android-mailine 2020-12-17 12:56:04 +01:00
binder_trace.h Merge 2911ed9f47 ("Merge tag 'char-misc-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc") into android-mailine 2020-12-17 12:56:04 +01:00
binder.c Merge faf145d6f3 ("Merge branch 'exec-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace") into android-mainline 2020-12-18 23:03:21 +01:00
binderfs.c binderfs: make symbol 'binderfs_fs_parameters' static 2020-09-03 18:24:39 +02:00
Kconfig Revert "ANDROID: disable ANDROID_VENDOR_HOOKS" 2020-10-21 17:41:18 +00:00
Makefile ANDROID: add support for vendor hooks 2020-05-12 19:47:44 +00:00
vendor_hooks.c ANDROID: ftrace: vendor hook for ftrace dump on oops 2021-01-29 23:25:45 +00:00