Home
last modified time | relevance | path

Searched refs:event_name (Results 1 – 25 of 66) sorted by relevance

123

/openbmc/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DCore.py17 def define_flag_field(event_name, field_name, delim): argument
18 flag_fields[event_name][field_name]['delim'] = delim
20 def define_flag_value(event_name, field_name, value, field_str): argument
21 flag_fields[event_name][field_name]['values'][value] = field_str
23 def define_symbolic_field(event_name, field_name): argument
27 def define_symbolic_value(event_name, field_name, value, field_str): argument
28 symbolic_fields[event_name][field_name]['values'][value] = field_str
30 def flag_str(event_name, field_name, value): argument
33 if flag_fields[event_name][field_name]:
48 def symbol_str(event_name, field_name, value): argument
[all …]
/openbmc/linux/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
H A DCore.pm63 my ($event_name, $field_name, $value) = @_;
67 if ($flag_fields{$event_name}{$field_name}) {
71 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}";
76 $string .= " $flag_fields{$event_name}{$field_name}{'delim'} ";
90 my ($event_name, $field_name, $delim) = @_;
92 $flag_fields{$event_name}{$field_name}{"delim"} = $delim;
97 my ($event_name, $field_name, $value, $field_str) = @_;
118 my ($event_name, $field_name, $value) = @_;
120 if ($symbolic_fields{$event_name}{$field_name}) {
137 my ($event_name, $field_name) = @_;
[all …]
/openbmc/linux/tools/perf/scripts/python/
H A Dcheck-perf-trace.py30 def irq__softirq_entry(event_name, context, common_cpu, argument
33 print_header(event_name, common_cpu, common_secs, common_nsecs,
40 def kmem__kmalloc(event_name, context, common_cpu, argument
44 print_header(event_name, common_cpu, common_secs, common_nsecs,
54 def trace_unhandled(event_name, context, event_fields_dict): argument
56 unhandled[event_name] += 1
58 unhandled[event_name] = 1
60 def print_header(event_name, cpu, secs, nsecs, pid, comm): argument
62 (event_name, cpu, secs, nsecs, pid, comm),
83 for event_name in keys:
[all …]
H A Dmem-phys-addr.py28 event_name = None variable
43 print("Event: %s" % (event_name))
97 global event_name
98 if event_name == None:
99 event_name = name
H A Dsched-migration.py372 def sched__sched_stat_runtime(event_name, context, common_cpu, argument
377 def sched__sched_stat_iowait(event_name, context, common_cpu, argument
382 def sched__sched_stat_sleep(event_name, context, common_cpu, argument
387 def sched__sched_stat_wait(event_name, context, common_cpu, argument
392 def sched__sched_process_fork(event_name, context, common_cpu, argument
397 def sched__sched_process_wait(event_name, context, common_cpu, argument
420 def sched__sched_switch(event_name, context, common_cpu, argument
430 def sched__sched_wakeup_new(event_name, context, common_cpu, argument
438 def sched__sched_wakeup(event_name, context, common_cpu, argument
446 def sched__sched_wait_task(event_name, context, common_cpu, argument
[all …]
H A Dsyscall-counts.py38 def raw_syscalls__sys_enter(event_name, context, common_cpu, argument
49 def syscalls__sys_enter(event_name, context, common_cpu, argument
H A Dsctop.py52 def raw_syscalls__sys_enter(event_name, context, common_cpu, argument
63 def syscalls__sys_enter(event_name, context, common_cpu, argument
H A Dsyscall-counts-by-pid.py41 def raw_syscalls__sys_enter(event_name, context, common_cpu, argument
52 def syscalls__sys_enter(event_name, context, common_cpu, argument
H A Dfailed-syscalls-by-pid.py42 def raw_syscalls__sys_exit(event_name, context, common_cpu, argument
55 def syscalls__sys_exit(event_name, context, common_cpu, argument
/openbmc/linux/tools/perf/scripts/perl/
H A Dcheck-perf-trace.pl30 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
34 print_header($event_name, $common_cpu, $common_secs, $common_nsecs,
45 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
50 print_header($event_name, $common_cpu, $common_secs, $common_nsecs,
87 foreach my $event_name (keys %unhandled) {
88 printf("%-40s %10d\n", $event_name, $unhandled{$event_name});
94 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
97 $unhandled{$event_name}++;
102 my ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_;
105 $event_name, $cpu, $secs, $nsecs, $pid, $comm);
H A Dwakeup-latency.pl30 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
53 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
96 foreach my $event_name (keys %unhandled) {
97 printf("%-40s %10d\n", $event_name, $unhandled{$event_name});
103 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
106 $unhandled{$event_name}++;
H A Drw-by-file.pl30 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
41 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
93 foreach my $event_name (keys %unhandled) {
94 printf("%-40s %10d\n", $event_name, $unhandled{$event_name});
100 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
103 $unhandled{$event_name}++;
H A Drwtop.pl37 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
55 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
68 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
81 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
192 foreach my $event_name (keys %unhandled) {
193 printf("%-40s %10d\n", $event_name, $unhandled{$event_name});
199 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
202 $unhandled{$event_name}++;
H A Drw-by-pid.pl26 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
42 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
53 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
64 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
173 foreach my $event_name (keys %unhandled) {
174 printf("%-40s %10d\n", $event_name, $unhandled{$event_name});
180 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
183 $unhandled{$event_name}++;
/openbmc/linux/tools/perf/tests/shell/
H A Drecord+probe_libc_inet_pton.sh23 event_name=$(perf probe -f -x $libc -a inet_pton 2>&1 | tail -n +2 | head -n -5 | \
26 if [ $? -ne 0 ] || [ -z "$event_name" ] ; then
36 echo "ping[][0-9 \.:]+$event_name: \([[:xdigit:]]+\)" > $expected
60 skip_no_probe_record_support "$event_name/$eventattr/"
63 perf record -e $event_name/$eventattr/ -o $perf_data ping -6 -c 1 ::1 > /dev/null 2>&1
91 if [ -n "$event_name" ] ; then
92 perf probe -q -d $event_name
/openbmc/linux/tools/perf/arch/x86/util/
H A Devsel.c54 const char *event_name; in arch_evsel__hw_name() local
57 event_name = evsel__hw_names[event]; in arch_evsel__hw_name()
59 event_name = "unknown-hardware"; in arch_evsel__hw_name()
63 return scnprintf(bf, size, "%s", event_name); in arch_evsel__hw_name()
67 event_name); in arch_evsel__hw_name()
/openbmc/linux/tools/perf/tests/
H A Devent_update.c41 struct event_name { struct
51 struct event_name *tmp = container_of(tool, struct event_name, tool); in process_event_name() argument
83 struct event_name tmp; in test__event_update()
/openbmc/qemu/scripts/
H A Dsimpletrace.py103 event_id, event_name = get_mapping(fobj)
104 event_id_to_name[event_id] = event_name
107 event_name = event_id_to_name[event_id]
110 event = event_mapping[event_name]
131 yield (event_mapping[event_name], event_name, timestamp_ns, pid) + tuple(args)
/openbmc/qemu/qapi/
H A Dqmp-event.c36 QDict *qmp_event_build_dict(const char *event_name) in qmp_event_build_dict() argument
39 qdict_put_str(dict, "event", event_name); in qmp_event_build_dict()
/openbmc/linux/kernel/trace/
H A Dtrace_eprobe.c28 const char *event_name; member
55 kfree(ep->event_name); in trace_event_probe_cleanup()
80 seq_printf(m, " %s.%s", ep->event_system, ep->event_name); in eprobe_dyn_event_show()
173 if (strcmp(ep->event_name, slash + 1)) in eprobe_dyn_event_match()
200 const char *event_name; in alloc_event_probe() local
208 event_name = trace_event_name(event); in alloc_event_probe()
216 ep->event_name = kstrdup(event_name, GFP_KERNEL); in alloc_event_probe()
217 if (!ep->event_name) in alloc_event_probe()
583 file = find_event_file(tr, ep->event_system, ep->event_name); in enable_eprobe()
610 file = find_event_file(tr, ep->event_system, ep->event_name); in disable_eprobe()
[all …]
/openbmc/linux/tools/perf/
H A Dbuiltin-list.c99 const char *event_name, const char *event_alias, in default_print_event() argument
115 (!event_name || !strglobmatch(event_name, print_state->event_glob)) && in default_print_event()
124 printf("%s ", event_name); in default_print_event()
136 pos = printf(" %s OR %s", event_name, event_alias); in default_print_event()
138 pos = printf(" %s", event_name); in default_print_event()
325 const char *event_name, const char *event_alias, in json_print_event() argument
346 if (event_name) { in json_print_event()
348 event_name); in json_print_event()
/openbmc/linux/drivers/scsi/elx/libefc/
H A Defc_sm.c46 static char *event_name[] = EFC_SM_EVENT_NAME; variable
53 return event_name[evt]; in efc_sm_event_name()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dcore.c337 const char *event_name; in mlx5_fpga_event() local
345 event_name = mlx5_fpga_syndrome_to_string(syndrome); in mlx5_fpga_event()
349 event_name = mlx5_fpga_qp_syndrome_to_string(syndrome); in mlx5_fpga_event()
358 mlx5_fpga_warn(fdev, "Error %u: %s\n", syndrome, event_name); in mlx5_fpga_event()
363 syndrome, event_name); in mlx5_fpga_event()
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Deventreplay.py39 event_name = "%s.%s" % (event.__module__, event.__class__.__name__)
40 if event_name not in self.eventmask:
/openbmc/linux/tools/perf/Documentation/
H A Dperf-script-perl.txt79 my ($event_name, $context, $common_cpu, $common_secs,
85 The handler function takes the form subsystem::event_name.
95 $event_name the name of the event as text
158 my ($event_name, $context, $common_cpu, $common_secs,
184event_name, $field_name, $field_value) - returns the string representation corresponding to $field…
185event_name, $field_name, $field_value) - returns the string representation corresponding to $field…

123