Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/oprofile/
Doprofile_perf.c30 static DEFINE_PER_CPU(struct perf_event **, perf_events);
43 if (per_cpu(perf_events, cpu)[id] == event) in op_overflow_handler() local
79 if (!counter_config[event].enabled || per_cpu(perf_events, cpu)[event]) in op_create_counter()
96 per_cpu(perf_events, cpu)[event] = pevent; in op_create_counter() local
103 struct perf_event *pevent = per_cpu(perf_events, cpu)[event]; in op_destroy_counter()
107 per_cpu(perf_events, cpu)[event] = NULL; in op_destroy_counter() local
262 event = per_cpu(perf_events, cpu)[id]; in oprofile_perf_exit()
267 kfree(per_cpu(perf_events, cpu)); in oprofile_perf_exit()
301 per_cpu(perf_events, cpu) = kcalloc(num_counters, in oprofile_perf_init()
303 if (!per_cpu(perf_events, cpu)) { in oprofile_perf_init()
/Linux-v5.10/Documentation/admin-guide/
Dperf-security.rst9 Usage of Performance Counters for Linux (perf_events) [1]_ , [2]_ , [3]_
12 direct usage of perf_events system call API [2]_ and over data files
14 depends on the nature of data that perf_events performance monitoring
46 So, perf_events performance monitoring and observability operations are
49 perf_events access control
56 all kernel security permission checks so perf_events performance
70 as privileged processes with respect to perf_events performance
77 For backward compatibility reasons the access to perf_events monitoring and
81 If system audit records [14]_ for a process using perf_events system call
87 Unprivileged processes using perf_events system call are also subject
[all …]
/Linux-v5.10/kernel/trace/
Dtrace_event_perf.c114 tp_event->perf_events = list; in perf_trace_event_reg()
147 free_percpu(tp_event->perf_events); in perf_trace_event_reg()
148 tp_event->perf_events = NULL; in perf_trace_event_reg()
170 free_percpu(tp_event->perf_events); in perf_trace_event_unreg()
171 tp_event->perf_events = NULL; in perf_trace_event_unreg()
371 pcpu_list = tp_event->perf_events; in perf_trace_add()
Dtrace_uprobe.c264 INIT_LIST_HEAD(&filter->perf_events); in NOKPROBE_SYMBOL()
269 return !filter->nr_systemwide && list_empty(&filter->perf_events); in uprobe_filter_is_empty()
1206 list_for_each_entry(event, &filter->perf_events, hw.tp_list) { in __uprobe_perf_filter()
1260 list_add(&event->hw.tp_list, &filter->perf_events); in trace_uprobe_filter_add()
1367 head = this_cpu_ptr(call->perf_events); in __uprobe_perf_func()
Dtrace_syscalls.c613 head = this_cpu_ptr(sys_data->enter_event->perf_events); in perf_syscall_enter()
712 head = this_cpu_ptr(sys_data->exit_event->perf_events); in perf_syscall_exit()
Dtrace_probe.h228 struct list_head perf_events; member
Dtrace_kprobe.c1595 head = this_cpu_ptr(call->perf_events); in kprobe_perf_func()
1631 head = this_cpu_ptr(call->perf_events); in kretprobe_perf_func()
/Linux-v5.10/Documentation/powerpc/
Dpmu-ebb.rst14 using the Linux perf_events API.
32 It is a feature of the perf_events API that events can be created on other
53 existing "pinned" and "exclusive" attributes of perf_events. This means EBB
68 perf_events subsystem.
91 perf_events API. This can be achieved either via the ioctl() interface, or the
94 However, due to the design of the perf_events API, enabling an event does not
/Linux-v5.10/tools/perf/Documentation/
Dperf.data-file-format.txt374 that have perf_events records in compressed form.
416 This section is the bulk of the file. It consist of a stream of perf_events
614 This is the canonical description of the kernel generated perf_events
617 perf_events manpage
620 http://web.eece.maine.edu/~vweaver/projects/perf_events/programming.html
624 perf_events"
/Linux-v5.10/include/trace/
Dperf.h48 head = this_cpu_ptr(event_call->perf_events); \
/Linux-v5.10/drivers/firmware/arm_scmi/
Dperf.c832 static const struct scmi_event perf_events[] = { variable
884 &perf_event_ops, perf_events, in scmi_perf_protocol_init()
885 ARRAY_SIZE(perf_events), in scmi_perf_protocol_init()
/Linux-v5.10/include/linux/
Dtrace_events.h304 struct hlist_head __percpu *perf_events; member