summaryrefslogtreecommitdiffstats
path: root/tools/tracing/rtla/src/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tracing/rtla/src/trace.h')
-rw-r--r--tools/tracing/rtla/src/trace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/tracing/rtla/src/trace.h b/tools/tracing/rtla/src/trace.h
index 9f9751f7ee36..856b26d93064 100644
--- a/tools/tracing/rtla/src/trace.h
+++ b/tools/tracing/rtla/src/trace.h
@@ -6,7 +6,9 @@ struct trace_events {
struct trace_events *next;
char *system;
char *event;
+ char *trigger;
char enabled;
+ char trigger_enabled;
};
struct trace_instance {
@@ -40,3 +42,5 @@ void trace_events_destroy(struct trace_instance *instance,
struct trace_events *events);
int trace_events_enable(struct trace_instance *instance,
struct trace_events *events);
+
+int trace_event_add_trigger(struct trace_events *event, char *trigger);