mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
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)
This commit is contained in:
committed by
Treehugger Robot
parent
616650627d
commit
a5329424ea
@@ -43,6 +43,8 @@
|
|||||||
#define CREATE_TRACE_POINTS
|
#define CREATE_TRACE_POINTS
|
||||||
#include <trace/events/syscalls.h>
|
#include <trace/events/syscalls.h>
|
||||||
|
|
||||||
|
EXPORT_TRACEPOINT_SYMBOL_GPL(sys_exit);
|
||||||
|
|
||||||
struct pt_regs_offset {
|
struct pt_regs_offset {
|
||||||
const char *name;
|
const char *name;
|
||||||
int offset;
|
int offset;
|
||||||
|
|||||||
Reference in New Issue
Block a user