Home
last modified time | relevance | path

Searched refs:symbolic_fields (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
H A DCore.pm59 my %symbolic_fields;
120 if ($symbolic_fields{$event_name}{$field_name}) {
121 foreach my $idx (sort {$a <=> $b} keys %{$symbolic_fields{$event_name}{$field_name}{"values"}}) {
123 return "$symbolic_fields{$event_name}{$field_name}{'values'}{$idx}";
127 return "$symbolic_fields{$event_name}{$field_name}{'values'}{$idx}";
146 $symbolic_fields{$event_name}{$field_name}{"values"}{$value} = $field_str;
151 for my $event (keys %symbolic_fields) {
153 for my $field (keys %{$symbolic_fields{$event}}) {
155 foreach my $idx (sort {$a <=> $b} keys %{$symbolic_fields{$event}{$field}{"values"}}) {
156 print " value $idx: $symbolic_fields{$event}{$field}{'values'}{$idx}\n";
/openbmc/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DCore.py15 symbolic_fields = autodict() variable
28 symbolic_fields[event_name][field_name]['values'][value] = field_str
51 if symbolic_fields[event_name][field_name]:
52 for idx in sorted(symbolic_fields[event_name][field_name]['values']):
54 string = symbolic_fields[event_name][field_name]['values'][idx]
57 string = symbolic_fields[event_name][field_name]['values'][idx]