ANDROID: vendor_hooks: Export the tracepoints task_rename
Export the tracepoint task_rename to identify specific new taskļ¼
to customize task's util for power and performance, or optimize
task schedule parameters.
Bug: 189985971
Change-Id: I3bb71eae316e3096d361e7b47012ba46ea4be509
Signed-off-by: Liujie Xie <xieliujie@oppo.com>
(cherry picked from commit 016d3f7b6986d0ca0acef18c59a47cf6eaa4f562)
(cherry picked from commit cfc14a391adb4d44d8186694b4884815bd85be6c)
diff --git a/fs/exec.c b/fs/exec.c
index 22a2a8b..3ce0c74 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -75,6 +75,8 @@
#include <trace/events/sched.h>
+EXPORT_TRACEPOINT_SYMBOL_GPL(task_rename);
+
static int bprm_creds_from_file(struct linux_binprm *bprm);
int suid_dumpable = 0;