Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 54669294 authored by Lee Susman's avatar Lee Susman
Browse files

ftrace: add FTRACE_EVENT_ENABLED macro



Add a macro for checking if an ftrace event is enabled or not.
Gets as argument the name of the event, as assigned to the event in the
event declaration or definition.
Returns 1 if event is enabled, 0 otherwise.

Change-Id: Ib6c39b8c67ff20623e9e2eb7996a39285c230d03
Signed-off-by: default avatarLee Susman <lsusman@codeaurora.org>
parent ca30ec37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment