ANDROID: vendor_hooks:add restricted hook for logbuf
Fix the timestamp in front of the log is out of order when using android_vh_logbuf with CPU core is offline. Bug: 364443023 Change-Id: Ib37f4373d3511aaf765838bf581c84ed22992a77 Signed-off-by: Xandy.Xiong <xiongliang@xiaomi.com> (cherry picked from commit 9b44f2fb794ccd5a17777e317bec959558d21f9e)
This commit is contained in:
committed by
Treehugger Robot
parent
37b34c5df3
commit
6fa673a171
@@ -12,6 +12,10 @@
|
||||
struct printk_ringbuffer;
|
||||
struct printk_record;
|
||||
|
||||
DECLARE_RESTRICTED_HOOK(android_rvh_logbuf,
|
||||
TP_PROTO(struct printk_ringbuffer *rb, struct printk_record *r),
|
||||
TP_ARGS(rb, r), true)
|
||||
|
||||
DECLARE_HOOK(android_vh_logbuf,
|
||||
TP_PROTO(struct printk_ringbuffer *rb, struct printk_record *r),
|
||||
TP_ARGS(rb, r))
|
||||
|
||||
Reference in New Issue
Block a user