Searched refs:perf_events (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/drivers/oprofile/ |
D | oprofile_perf.c | 29 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.1.27/kernel/trace/ |
D | trace_event_perf.c | 104 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()
|
D | trace_uprobe.c | 46 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() 1008 list_for_each_entry(event, &filter->perf_events, hw.tp_list) { in __uprobe_perf_filter() 1062 list_add(&event->hw.tp_list, &tu->filter.perf_events); in uprobe_perf_open() 1111 head = this_cpu_ptr(call->perf_events); in __uprobe_perf_func()
|
D | trace_syscalls.c | 567 head = this_cpu_ptr(sys_data->enter_event->perf_events); in perf_syscall_enter() 641 head = this_cpu_ptr(sys_data->exit_event->perf_events); in perf_syscall_exit()
|
D | trace_kprobe.c | 1147 head = this_cpu_ptr(call->perf_events); in kprobe_perf_func() 1182 head = this_cpu_ptr(call->perf_events); in kretprobe_perf_func()
|
/linux-4.1.27/Documentation/powerpc/ |
D | pmu-ebb.txt | 13 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.1.27/include/linux/ |
D | ftrace_event.h | 309 struct hlist_head __percpu *perf_events; member
|
/linux-4.1.27/include/trace/ |
D | ftrace.h | 816 head = this_cpu_ptr(event_call->perf_events); \
|