Home
last modified time | relevance | path

Searched refs:string (Results 1 – 13 of 13) sorted by relevance

/tools/lib/traceevent/
Devent-utils.h47 static inline char *strim(char *string) in strim() argument
51 if (!string) in strim()
53 while (*string) { in strim()
54 if (!isspace(*string)) in strim()
56 string++; in strim()
58 ret = string; in strim()
60 string = ret + strlen(ret) - 1; in strim()
61 while (string > ret) { in strim()
62 if (!isspace(*string)) in strim()
64 string--; in strim()
[all …]
Devent-parse.c737 free(arg->string.string); in free_arg()
2619 arg->string.string = token; in process_str()
2620 arg->string.offset = -1; in process_str()
3590 if (arg->string.offset == -1) { in print_str_arg()
3593 f = pevent_find_any_field(event, arg->string.string); in print_str_arg()
3594 arg->string.offset = f->offset; in print_str_arg()
3596 str_offset = data2host4(pevent, data + arg->string.offset); in print_str_arg()
3602 print_str_to_seq(s, format, len_arg, arg->string.string); in print_str_arg()
3645 } *strings = NULL, *string; in process_defined_func() local
3672 string = malloc(sizeof(*string)); in process_defined_func()
[all …]
Devent-parse.h197 char *string; member
280 struct print_arg_string string; member
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DCore.py31 string = ""
39 string += flag_fields[event_name][field_name]['values'][idx]
43 string += " " + flag_fields[event_name][field_name]['delim'] + " "
44 string += flag_fields[event_name][field_name]['values'][idx]
48 return string
51 string = ""
58 string = symbolic_fields[event_name][field_name]['values'][idx]
61 string = symbolic_fields[event_name][field_name]['values'][idx]
64 return string
74 string = ""
[all …]
/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
DCore.pm35 my $string;
41 $string .= "NONE";
47 $string .= " | ";
49 $string .= "$trace_flags{$idx}";
55 return $string;
65 my $string;
71 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}";
76 $string .= " $flag_fields{$event_name}{$field_name}{'delim'} ";
78 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}";
85 return $string;
/tools/perf/config/
Dutilities.mak14 # newlines; the default is a bizarre string.
47 # the default escape is a bizarre string.
49 # NOTE: The escape is used directly as a string constant
63 # the default escape is a bizarre string.
83 # embedding in a shell string that is delimited by
113 # This function avoids the problem by producing a string
/tools/perf/Documentation/
Dperf-script.txt64 as any script name ending with the string 'top'.
93 If the string 'lang' is specified in place of a script name, a
129 i.e., the specified fields apply to all event types if the type string
Dperf-script-perl.txt184 …flag_str($event_name, $field_name, $field_value) - returns the string represention corresponding t…
185 …symbol_str($event_name, $field_name, $field_value) - returns the string represention corresponding…
211 nsecs_str($nsecs) - returns printable string in the form secs.nsecs
Dperf-stat.txt84 spreadsheets. Columns are separated by the string specified in SEP.
Dperf-script-python.txt579 …flag_str(event_name, field_name, field_value) - returns the string represention corresponding to f…
580 …symbol_str(event_name, field_name, field_value) - returns the string represention corresponding to…
615 nsecs_str(nsecs) - returns printable string in the form secs.nsecs
Dperf-probe.txt137 …rf probe automatically set the type based on debuginfo. You can specify 'string' type only for the…
/tools/perf/
Dbuiltin-timechart.c818 static void add_process_filter(const char *string) in add_process_filter() argument
820 int pid = strtoull(string, NULL, 10); in add_process_filter()
826 filt->name = strdup(string); in add_process_filter()
DMakefile353 LIB_H += util/include/linux/string.h
452 LIB_OBJS += $(OUTPUT)util/string.o