drm/bridge: adv7511: Switch to atomic operations
[drm/drm-misc.git] / tools / verification / rv / include / trace.h
blob8d89e8c303fa1bd359f3204347c07a1e32f0f7ee
1 // SPDX-License-Identifier: GPL-2.0
3 #include <tracefs.h>
5 struct trace_instance {
6 struct tracefs_instance *inst;
7 struct tep_handle *tep;
8 struct trace_seq *seq;
9 };
11 int trace_instance_init(struct trace_instance *trace, char *name);
12 int trace_instance_start(struct trace_instance *trace);
13 void trace_instance_destroy(struct trace_instance *trace);
15 int collect_registered_events(struct tep_event *event, struct tep_record *record,
16 int cpu, void *context);