ANDROID: softirq: Add EXPORT_SYMBOL_GPL for softirq and tasklet

The purpose of these symbols is for getting irq/softirq latency. Currently we only have symbols for irq_handler_entry and irq_handler_exit. We would use these latency for further monitoring and debugging.

The related tracepoints were defined in trace/events/irq.h. We would use these tracepoints in vendor kernel module.

Bug: 227809911
Signed-off-by: Ziyi Cui <ziyic@google.com>
Change-Id: Idf4ccdede5232689b2752283539aee54a5f67866
(cherry picked from commit e09aff6074e10262d503418e599f1a18fc047bd8)
This commit is contained in:
Ziyi Cui
2022-08-29 23:09:23 +00:00
committed by Treehugger Robot
parent 2dcd9378ef
commit 05760b29af

View File

@@ -35,6 +35,10 @@
EXPORT_TRACEPOINT_SYMBOL_GPL(irq_handler_entry);
EXPORT_TRACEPOINT_SYMBOL_GPL(irq_handler_exit);
EXPORT_TRACEPOINT_SYMBOL_GPL(softirq_entry);
EXPORT_TRACEPOINT_SYMBOL_GPL(softirq_exit);
EXPORT_TRACEPOINT_SYMBOL_GPL(tasklet_entry);
EXPORT_TRACEPOINT_SYMBOL_GPL(tasklet_exit);
/*
- No shared variables, all the data are CPU local.