Home
last modified time | relevance | path

Searched refs:field_name (Results 1 – 10 of 10) sorted by relevance

/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/util/scripting-engines/
Dtrace-event-perl.c77 const char *field_name, in define_symbolic_value() argument
91 XPUSHs(sv_2mortal(newSVpv(field_name, 0))); in define_symbolic_value()
106 const char *field_name) in define_symbolic_values() argument
108 define_symbolic_value(ev_name, field_name, field->value, field->str); in define_symbolic_values()
110 define_symbolic_values(field->next, ev_name, field_name); in define_symbolic_values()
114 const char *field_name) in define_symbolic_field() argument
123 XPUSHs(sv_2mortal(newSVpv(field_name, 0))); in define_symbolic_field()
135 const char *field_name, in define_flag_value() argument
149 XPUSHs(sv_2mortal(newSVpv(field_name, 0))); in define_flag_value()
164 const char *field_name) in define_flag_values() argument
[all …]
Dtrace-event-python.c202 const char *field_name, in define_value() argument
221 PyTuple_SetItem(t, n++, _PyUnicode_FromString(field_name)); in define_value()
233 const char *field_name) in define_values() argument
235 define_value(field_type, ev_name, field_name, field->value, in define_values()
239 define_values(field_type, field->next, ev_name, field_name); in define_values()
244 const char *field_name, in define_field() argument
262 PyTuple_SetItem(t, n++, _PyUnicode_FromString(field_name)); in define_field()
/tools/perf/Documentation/
Dperf-script-perl.txt184 …($event_name, $field_name, $field_value) - returns the string representation corresponding to $fie…
185 …event_name, $field_name, $field_value) - returns the string representation corresponding to $field…
Dperf-script-python.txt595 …_str(event_name, field_name, field_value) - returns the string representation corresponding to fie…
596 …tr(event_name, field_name, field_value) - returns the string representation corresponding to field…
/tools/perf/util/
Dsort.c2474 char *event_name, *field_name, *opt_name; in parse_field_name() local
2477 field_name = strchr(str, '.'); in parse_field_name()
2479 if (field_name) { in parse_field_name()
2480 *field_name++ = '\0'; in parse_field_name()
2483 field_name = str; in parse_field_name()
2486 opt_name = strchr(field_name, '/'); in parse_field_name()
2491 *field = field_name; in parse_field_name()
2591 char *field_name, bool raw_trace, int level) in add_all_matching_fields() argument
2601 field = tep_find_any_field(evsel->tp_format, field_name); in add_all_matching_fields()
2615 char *str, *event_name, *field_name, *opt_name; in add_dynamic_entry() local
[all …]
/tools/lib/bpf/
Dbtf.h176 const char *field_name; member
Dbtf_dump.c1186 fname = OPTS_GET(opts, field_name, ""); in btf_dump__emit_type_decl()
/tools/bpf/bpftool/
Dgen.c128 .field_name = var_ident, in codegen_datasec_def()