Home
last modified time | relevance | path

Searched refs:perf_events (Results 1 – 8 of 8) sorted by relevance

/linux-4.4.14/drivers/oprofile/
Doprofile_perf.c29 static DEFINE_PER_CPU(struct perf_event **, perf_events);
42 if (per_cpu(perf_events, cpu)[id] == event) in op_overflow_handler() local
78 if (!counter_config[event].enabled || per_cpu(perf_events, cpu)[event]) in op_create_counter()
95 per_cpu(perf_events, cpu)[event] = pevent; in op_create_counter() local
102 struct perf_event *pevent = per_cpu(perf_events, cpu)[event]; in op_destroy_counter()
106 per_cpu(perf_events, cpu)[event] = NULL; in op_destroy_counter() local
261 event = per_cpu(perf_events, cpu)[id]; in oprofile_perf_exit()
266 kfree(per_cpu(perf_events, cpu)); in oprofile_perf_exit()
300 per_cpu(perf_events, cpu) = kcalloc(num_counters, in oprofile_perf_init()
302 if (!per_cpu(perf_events, cpu)) { in oprofile_perf_init()
/linux-4.4.14/kernel/trace/
Dtrace_event_perf.c104 tp_event->perf_events = list; in perf_trace_event_reg()
137 free_percpu(tp_event->perf_events); in perf_trace_event_reg()
138 tp_event->perf_events = NULL; in perf_trace_event_reg()
160 free_percpu(tp_event->perf_events); in perf_trace_event_unreg()
161 tp_event->perf_events = NULL; in perf_trace_event_unreg()
243 pcpu_list = tp_event->perf_events; in perf_trace_add()
310 head = this_cpu_ptr(event_function.perf_events); in perf_ftrace_function_call()
Dtrace_uprobe.c46 struct list_head perf_events; member
222 INIT_LIST_HEAD(&filter->perf_events); in init_trace_uprobe_filter()
227 return !filter->nr_systemwide && list_empty(&filter->perf_events); in uprobe_filter_is_empty()
1023 list_for_each_entry(event, &filter->perf_events, hw.tp_list) { in __uprobe_perf_filter()
1077 list_add(&event->hw.tp_list, &tu->filter.perf_events); in uprobe_perf_open()
1130 head = this_cpu_ptr(call->perf_events); in __uprobe_perf_func()
Dtrace_syscalls.c568 head = this_cpu_ptr(sys_data->enter_event->perf_events); in perf_syscall_enter()
642 head = this_cpu_ptr(sys_data->exit_event->perf_events); in perf_syscall_exit()
Dtrace_kprobe.c1135 head = this_cpu_ptr(call->perf_events); in kprobe_perf_func()
1170 head = this_cpu_ptr(call->perf_events); in kretprobe_perf_func()
/linux-4.4.14/Documentation/powerpc/
Dpmu-ebb.txt13 using the Linux perf_events API.
31 It is a feature of the perf_events API that events can be created on other
52 existing "pinned" and "exclusive" attributes of perf_events. This means EBB
67 perf_events subsystem.
90 perf_events API. This can be achieved either via the ioctl() interface, or the
93 However, due to the design of the perf_events API, enabling an event does not
/linux-4.4.14/include/trace/
Dperf.h50 head = this_cpu_ptr(event_call->perf_events); \
/linux-4.4.14/include/linux/
Dtrace_events.h302 struct hlist_head __percpu *perf_events; member