Home
last modified time | relevance | path

Searched refs:sep (Results 1 – 25 of 26) sorted by relevance

12

/tools/perf/ui/tui/
Dutil.c81 const char *sep = strchr(t, '\n'); in ui_browser__input_window() local
83 if (sep == NULL) in ui_browser__input_window()
84 sep = strchr(t, '\0'); in ui_browser__input_window()
85 len = sep - t; in ui_browser__input_window()
89 if (*sep == '\0') in ui_browser__input_window()
91 t = sep + 1; in ui_browser__input_window()
171 const char *sep = strchr(t, '\n'); in __ui__info_window() local
174 if (sep == NULL) in __ui__info_window()
175 sep = strchr(t, '\0'); in __ui__info_window()
176 len = sep - t; in __ui__info_window()
[all …]
/tools/perf/util/
Dintlist.c92 char *sep; in intlist__parse_list() local
96 long value = strtol(s, &sep, 10); in intlist__parse_list()
98 if (*sep != ',' && *sep != '\0') in intlist__parse_list()
103 s = sep + 1; in intlist__parse_list()
104 } while (*sep != '\0'); in intlist__parse_list()
Dstrlist.c144 char *sep; in strlist__parse_list() local
147 while ((sep = strchr(s, ',')) != NULL) { in strlist__parse_list()
148 *sep = '\0'; in strlist__parse_list()
150 *sep = ','; in strlist__parse_list()
153 s = sep + 1; in strlist__parse_list()
Dsrcline.c386 char *sep; in filename_split() local
388 sep = strchr(filename, '\n'); in filename_split()
389 if (sep) in filename_split()
390 *sep = '\0'; in filename_split()
395 sep = strchr(filename, ':'); in filename_split()
396 if (sep) { in filename_split()
397 *sep++ = '\0'; in filename_split()
398 *line_nr = strtoul(sep, NULL, 0); in filename_split()
Dsymbol.c591 char *sep, *endptr; in modules__parse() local
609 sep = strrchr(line, 'x'); in modules__parse()
610 if (sep == NULL) in modules__parse()
613 hex2u64(sep + 1, &start); in modules__parse()
615 sep = strchr(line, ' '); in modules__parse()
616 if (sep == NULL) in modules__parse()
619 *sep = '\0'; in modules__parse()
623 size = strtoul(sep + 1, &endptr, 0); in modules__parse()
Dbpf-loader.c245 char *sep, *line; in parse_prog_config_kvpair() local
255 while ((sep = strchr(line, ';'))) { in parse_prog_config_kvpair()
258 *sep = '\0'; in parse_prog_config_kvpair()
272 line = sep + 1; in parse_prog_config_kvpair()
Dsort.c63 char *sep = bf; in repsep_snprintf() local
66 sep = strchr(sep, *symbol_conf.field_sep); in repsep_snprintf()
67 if (sep == NULL) in repsep_snprintf()
69 *sep = '.'; in repsep_snprintf()
Dhist.h251 const char *sep; member
Devsel.c2360 const char *sep = ":"; in perf_evsel__fallback() local
2369 sep = ""; in perf_evsel__fallback()
2371 if (asprintf(&new_name, "%s%su", name, sep) < 0) in perf_evsel__fallback()
/tools/perf/ui/stdio/
Dhist.c331 const char *sep = symbol_conf.field_sep ?: ";"; in __callchain__fprintf_folded() local
346 ret += fprintf(fp, "%s%s", first ? "" : sep, in __callchain__fprintf_folded()
416 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf() local
433 if (!sep || !first) { in __hist_entry__snprintf()
434 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in __hist_entry__snprintf()
461 const char *sep = symbol_conf.field_sep; in hist_entry__hierarchy_fprintf() local
483 if (!sep || !first) { in hist_entry__hierarchy_fprintf()
484 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in hist_entry__hierarchy_fprintf()
498 if (!sep) in hist_entry__hierarchy_fprintf()
522 printed += fprintf(fp, "%s%s", sep ?: " ", skip_spaces(buf)); in hist_entry__hierarchy_fprintf()
[all …]
/tools/bpf/bpftool/
Djson_writer.c25 char sep; /* either nul or comma */ member
49 if (self->sep != '\0') in jsonw_eor()
50 putc(self->sep, self->out); in jsonw_eor()
51 self->sep = ','; in jsonw_eor()
97 self->sep = '\0'; in jsonw_new()
125 self->sep = '\0'; in jsonw_begin()
133 if (self->sep != '\0') in jsonw_end()
136 self->sep = ','; in jsonw_end()
145 self->sep = '\0'; in jsonw_name()
Dfeature.c291 char *sep; in read_next_kernel_config_option() local
297 sep = strchr(buf, '='); in read_next_kernel_config_option()
298 if (!sep) in read_next_kernel_config_option()
305 *sep = '\0'; in read_next_kernel_config_option()
306 if (!sep[1]) in read_next_kernel_config_option()
309 *value = sep + 1; in read_next_kernel_config_option()
Dmain.c149 void fprint_hex(FILE *f, void *arg, unsigned int n, const char *sep) in fprint_hex() argument
164 pfx = sep; in fprint_hex()
Dmain.h106 void fprint_hex(FILE *f, void *arg, unsigned int n, const char *sep);
/tools/perf/scripts/python/
Dstackcollapse.py113 sep = "-"
115 comm = comm + sep + str(param_dict['sample']['pid'])
116 sep = "/"
118 comm = comm + sep + str(param_dict['sample']['tid'])
Dexported-sql-viewer.py2500 sep = ""
2506 text += sep + ToCSValue(val)
2507 sep = ","
2515 text += pad + sep + val
2517 sep = " "
2520 sep = ""
2527 sep = ""
2529 text += sep + ToCSValue(str(i.data()))
2530 sep = ","
2537 text += pad + sep + val
[all …]
Dexport-to-sqlite.py98 print(datetime.datetime.today(), *args, sep=' ', **kw_args)
Dexport-to-postgresql.py277 print(datetime.datetime.today(), *args, sep=' ', **kw_args)
/tools/perf/
Dbuiltin-list.c63 char *sep, *s; in cmd_list() local
88 else if ((sep = strchr(argv[i], ':')) != NULL) { in cmd_list()
91 if (sep == NULL) { in cmd_list()
97 sep_idx = sep - argv[i]; in cmd_list()
Dbuiltin-trace.c3961 char *sep = NULL, *lists[2] = { NULL, NULL, }; in trace__parse_events_option() local
3976 if ((sep = strchr(s, ',')) != NULL) in trace__parse_events_option()
3977 *sep = '\0'; in trace__parse_events_option()
4005 if (!sep) in trace__parse_events_option()
4008 *sep = ','; in trace__parse_events_option()
4009 s = sep + 1; in trace__parse_events_option()
4037 if (sep) in trace__parse_events_option()
4038 *sep = ','; in trace__parse_events_option()
/tools/perf/arch/s390/util/
Dheader.c111 char *sep = strchr(cp, '='); in get_cpuid() local
114 sizeof(version) - vssize, "%s", sep + 1); in get_cpuid()
118 char *sep = strchr(cp, '='); in get_cpuid() local
121 sizeof(authorization) - atsize, "%s", sep + 1); in get_cpuid()
/tools/perf/lib/
Dcpumap.c92 char sep; in perf_cpu_map__read() local
94 sep = 0; in perf_cpu_map__read()
97 n = fscanf(file, "%u%c", &cpu, &sep); in perf_cpu_map__read()
126 if (n == 2 && sep == '-') in perf_cpu_map__read()
130 if (n == 1 || sep == '\n') in perf_cpu_map__read()
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/
Dmodify_srcu.awk98 function update_fieldsep(sep, p) {
100 sep_tmp = sep;
134 last_fs = sep;
/tools/power/cpupower/utils/helpers/
Dbitmask.c105 static const char *nexttoken(const char *q, int sep) in nexttoken() argument
108 q = strchr(q, sep); in nexttoken()
/tools/perf/pmu-events/
Djevents.c79 static void addfield(char *map, char **dst, const char *sep, in addfield() argument
82 unsigned int len = strlen(a) + 1 + strlen(sep); in addfield()
97 strcat(*dst, sep); in addfield()

12