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 016d3f7b69)
(cherry picked from commit cfc14a391adb4d44d8186694b4884815bd85be6c)
This commit is contained in:
Liujie Xie
2021-06-03 17:41:28 +08:00
committed by Todd Kjos
parent 42b899d573
commit e3e91e9f2a

View File

@@ -123,6 +123,7 @@
#define MAX_THREADS FUTEX_TID_MASK
EXPORT_TRACEPOINT_SYMBOL_GPL(task_newtask);
EXPORT_TRACEPOINT_SYMBOL_GPL(task_rename);
/*
* Protected counters by write_lock_irq(&tasklist_lock)