Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/oprofile/
Doprofile_perf.c28 static struct perf_event **perf_events[nr_cpumask_bits]; variable
41 if (perf_events[cpu][id] == event) in op_overflow_handler()
77 if (!counter_config[event].enabled || perf_events[cpu][event]) in op_create_counter()
94 perf_events[cpu][event] = pevent; in op_create_counter()
101 struct perf_event *pevent = perf_events[cpu][event]; in op_destroy_counter()
105 perf_events[cpu][event] = NULL; in op_destroy_counter()
260 event = perf_events[cpu][id]; in oprofile_perf_exit()
265 kfree(perf_events[cpu]); in oprofile_perf_exit()
280 memset(&perf_events, 0, sizeof(perf_events)); in oprofile_perf_init()
301 perf_events[cpu] = kcalloc(num_counters, in oprofile_perf_init()
[all …]
/linux-2.6.39/kernel/trace/
Dtrace_event_perf.c71 tp_event->perf_events = list; in perf_trace_event_init()
104 free_percpu(tp_event->perf_events); in perf_trace_event_init()
105 tp_event->perf_events = NULL; in perf_trace_event_init()
139 pcpu_list = tp_event->perf_events; in perf_trace_add()
174 free_percpu(tp_event->perf_events); in perf_trace_destroy()
175 tp_event->perf_events = NULL; in perf_trace_destroy()
Dtrace_syscalls.c533 head = this_cpu_ptr(sys_data->enter_event->perf_events); in perf_syscall_enter()
609 head = this_cpu_ptr(sys_data->exit_event->perf_events); in perf_syscall_exit()
Dtrace_kprobe.c1683 head = this_cpu_ptr(call->perf_events); in kprobe_perf_func()
1714 head = this_cpu_ptr(call->perf_events); in kretprobe_perf_func()
/linux-2.6.39/include/linux/
Dftrace_event.h197 struct hlist_head __percpu *perf_events; member
/linux-2.6.39/include/trace/
Dftrace.h736 head = this_cpu_ptr(event_call->perf_events); \