1 // SPDX-License-Identifier: GPL-2.0
5 struct trace_instance
{
6 struct tracefs_instance
*inst
;
7 struct tep_handle
*tep
;
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
);