ANDROID: GKI: export sys_exit tracepoint

This patch export a sys_exit tracepoint for
task state-tracking and performance tuning.

Bug: 339912146

Change-Id: I951ac6034e80691f092c0ba41b6af1fdaf8be49c
Signed-off-by: zhujingpeng <zhujingpeng@vivo.com>
(cherry picked from commit 53c7feb8b4829376b678b7cb8d501f48b2b47286)
(cherry picked from commit 17e523360e373b219c3a24ffed52bf773e0009df)
This commit is contained in:
zhujingpeng 2024-05-11 11:45:36 +08:00 committed by Ksawlii
parent 5fd39502da
commit ec5d36aa56

View file

@ -44,6 +44,8 @@
#define CREATE_TRACE_POINTS
#include <trace/events/syscalls.h>
EXPORT_TRACEPOINT_SYMBOL_GPL(sys_exit);
struct pt_regs_offset {
const char *name;
int offset;