Home
last modified time | relevance | path

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

/tools/lib/traceevent/
Devent-utils.h43 static inline char *strim(char *string) in strim() argument
47 if (!string) in strim()
49 while (*string) { in strim()
50 if (!isspace(*string)) in strim()
52 string++; in strim()
54 ret = string; in strim()
56 string = ret + strlen(ret) - 1; in strim()
57 while (string > ret) { in strim()
58 if (!isspace(*string)) in strim()
60 string--; in strim()
[all …]
Devent-parse.c766 free(arg->string.string); in free_arg()
2673 arg->string.string = token; in process_str()
2674 arg->string.offset = -1; in process_str()
3790 if (arg->string.offset == -1) { in print_str_arg()
3793 f = pevent_find_any_field(event, arg->string.string); in print_str_arg()
3794 arg->string.offset = f->offset; in print_str_arg()
3796 str_offset = data2host4(pevent, data + arg->string.offset); in print_str_arg()
3802 print_str_to_seq(s, format, len_arg, arg->string.string); in print_str_arg()
3863 } *strings = NULL, *string; in process_defined_func() local
3890 string = malloc(sizeof(*string)); in process_defined_func()
[all …]
Devent-parse.h207 char *string; member
296 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/util/
Dsrcline.c32 static int bfd_error(const char *string) in bfd_error() argument
39 if (string) in bfd_error()
40 pr_debug("%s: %s\n", string, errmsg); in bfd_error()
/tools/perf/Documentation/
Dperf-script-perl.txt184 …flag_str($event_name, $field_name, $field_value) - returns the string representation corresponding…
185 …symbol_str($event_name, $field_name, $field_value) - returns the string representation correspondi…
211 nsecs_str($nsecs) - returns printable string in the form secs.nsecs
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-timechart.txt65 as number of nanoseconds. If non-numeric string is given it's
Dperf-stat.txt92 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 representation corresponding to…
580 …symbol_str(event_name, field_name, field_value) - returns the string representation corresponding …
615 nsecs_str(nsecs) - returns printable string in the form secs.nsecs
Dperf-probe.txt140 …rf probe automatically set the type based on debuginfo. You can specify 'string' type only for the…
/tools/usb/usbip/
Dconfigure.ac32 string.h sys/socket.h syslog.h unistd.h])
/tools/perf/
Dbuiltin-timechart.c1303 static void add_process_filter(const char *string) in add_process_filter() argument
1305 int pid = strtoull(string, NULL, 10); in add_process_filter()
1311 filt->name = strdup(string); in add_process_filter()
DMakefile.perf230 LIB_H += util/include/linux/string.h
332 LIB_OBJS += $(OUTPUT)util/string.o