perf_events
static const struct scmi_event perf_events[] = {
.evts = perf_events,
.num_events = ARRAY_SIZE(perf_events),
head = this_cpu_ptr(event_call->perf_events); \
tp_event->perf_events = list;
free_percpu(tp_event->perf_events);
tp_event->perf_events = NULL;
free_percpu(tp_event->perf_events);
tp_event->perf_events = NULL;
pcpu_list = tp_event->perf_events;
perf_head = this_cpu_ptr(call->perf_events);
perf_head = this_cpu_ptr(user->call.perf_events);
head = this_cpu_ptr(call->perf_events);
head = this_cpu_ptr(call->perf_events);
head = this_cpu_ptr(call->perf_events);
head = this_cpu_ptr(call->perf_events);
struct list_head perf_events;
head = this_cpu_ptr(sys_data->enter_event->perf_events);
head = this_cpu_ptr(sys_data->enter_event->perf_events);
head = this_cpu_ptr(sys_data->exit_event->perf_events);
list_for_each_entry(event, &filter->perf_events, hw.tp_list) {
list_add(&event->hw.tp_list, &filter->perf_events);
head = this_cpu_ptr(call->perf_events);
INIT_LIST_HEAD(&filter->perf_events);
return !filter->nr_systemwide && list_empty(&filter->perf_events);
struct raw_perf_event perf_events[] = {
#define NUM_EVTS (ARRAY_SIZE(perf_events))
perf_conf.config = perf_events[i].config;
perf_conf.config1 = perf_events[i].config1;
__func__, perf_events[i].desc);
perf_events[i].save = perf_event;