Home
last modified time | relevance | path

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

12

/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
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]:
35 for idx in sorted(flag_fields[event_name][field_name]['values']):
[all …]
/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
DCore.pm63 my ($event_name, $field_name, $value) = @_;
67 if ($flag_fields{$event_name}{$field_name}) {
69 foreach my $idx (sort {$a <=> $b} keys %{$flag_fields{$event_name}{$field_name}{"values"}}) {
71 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}";
75 if ($print_delim && $flag_fields{$event_name}{$field_name}{'delim'}) {
76 $string .= " $flag_fields{$event_name}{$field_name}{'delim'} ";
78 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}";
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) = @_;
[all …]
/tools/perf/scripts/python/
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 …]
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
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
402 def sched__sched_process_exit(event_name, context, common_cpu, argument
407 def sched__sched_process_free(event_name, context, common_cpu, argument
412 def sched__sched_migrate_task(event_name, context, common_cpu, argument
420 def sched__sched_switch(event_name, context, common_cpu, argument
[all …]
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
Dsctop.py52 def raw_syscalls__sys_enter(event_name, context, common_cpu, argument
63 def syscalls__sys_enter(event_name, context, common_cpu, argument
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
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
Dcompaction-times.py211 def compaction__mm_compaction_migratepages(event_name, context, common_cpu, argument
218 def compaction__mm_compaction_isolate_freepages(event_name, context, common_cpu, argument
225 def compaction__mm_compaction_isolate_migratepages(event_name, context, common_cpu, argument
232 def compaction__mm_compaction_end(event_name, context, common_cpu, argument
239 def compaction__mm_compaction_begin(event_name, context, common_cpu, argument
Dpowerpc-hcalls.py197 def powerpc__hcall_entry(event_name, context, cpu, sec, nsec, pid, comm, argument
Devent_analyzing_sample.py191 def trace_unhandled(event_name, context, event_fields_dict): argument
Dintel-pt-events.py32 def trace_unhandled(event_name, context, event_fields_dict): argument
/tools/perf/scripts/perl/
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);
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}++;
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}++;
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}++;
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}++;
Dfailed-syscalls.pl20 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
/tools/perf/tests/shell/
Drecord+probe_libc_inet_pton.sh22 event_name=$(perf probe -f -x $libc -a inet_pton 2>&1 | tail -n +2 | head -n -5 | \
25 if [ $? -ne 0 -o -z "$event_name" ] ; then
35 echo "ping[][0-9 \.:]+$event_name: \([[:xdigit:]]+\)" > $expected
59 perf record -e $event_name/$eventattr/ -o $perf_data ping -6 -c 1 ::1 > /dev/null 2>&1
82 if [ -n "$event_name" ] ; then
83 perf probe -q -d $event_name
/tools/perf/tests/
Devent_update.c44 struct event_name { struct
54 struct event_name *tmp = container_of(tool, struct event_name, tool); in process_event_name() argument
90 struct event_name tmp; in test__event_update()
/tools/perf/Documentation/
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…
Dperf-script-python.txt143 def raw_syscalls__sys_enter(event_name, context, common_cpu,
146 print_header(event_name, common_cpu, common_secs, common_nsecs,
152 def trace_unhandled(event_name, context, event_fields_dict):
155 def print_header(event_name, cpu, secs, nsecs, pid, comm):
157 (event_name, cpu, secs, nsecs, pid, comm),
225 def raw_syscalls__sys_enter(event_name, context, common_cpu,
291 def raw_syscalls__sys_enter(event_name, context, common_cpu,
471 def sched__sched_wakeup(event_name, context, common_cpu, common_secs,
487 event_name the name of the event as text
549 def trace_unhandled(event_name, context, event_fields_dict):
[all …]
/tools/perf/util/
Dparse-events.y90 %type <head> event_name
194 event_name PE_MODIFIER_EVENT
207 event_name
209 event_name:
Dsort.c2291 char *event_name, *field_name, *opt_name; in parse_field_name() local
2293 event_name = str; in parse_field_name()
2299 event_name = NULL; in parse_field_name()
2307 *event = event_name; in parse_field_name()
2319 static struct evsel *find_evsel(struct evlist *evlist, char *event_name) in find_evsel() argument
2326 if (event_name[0] == '%') { in find_evsel()
2327 int nr = strtol(event_name+1, NULL, 0); in find_evsel()
2339 full_name = !!strchr(event_name, ':'); in find_evsel()
2342 if (full_name && !strcmp(pos->name, event_name)) in find_evsel()
2345 if (!full_name && strstr(pos->name, event_name)) { in find_evsel()
[all …]

12