Home
last modified time | relevance | path

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

/tools/perf/ui/tui/
Dutil.c82 const char *sep = strchr(t, '\n'); in ui_browser__input_window() local
84 if (sep == NULL) in ui_browser__input_window()
85 sep = strchr(t, '\0'); in ui_browser__input_window()
86 len = sep - t; in ui_browser__input_window()
90 if (*sep == '\0') in ui_browser__input_window()
92 t = sep + 1; in ui_browser__input_window()
173 const char *sep = strchr(t, '\n'); in ui__question_window() local
176 if (sep == NULL) in ui__question_window()
177 sep = strchr(t, '\0'); in ui__question_window()
178 len = sep - t; in ui__question_window()
[all …]
/tools/perf/util/
Dintlist.c93 char *sep; in intlist__parse_list() local
97 long value = strtol(s, &sep, 10); in intlist__parse_list()
99 if (*sep != ',' && *sep != '\0') in intlist__parse_list()
104 s = sep + 1; in intlist__parse_list()
105 } while (*sep != '\0'); in intlist__parse_list()
Dsrcline.c219 char *sep; in addr2line() local
236 sep = strchr(filename, '\n'); in addr2line()
237 if (sep) in addr2line()
238 *sep = '\0'; in addr2line()
246 sep = strchr(filename, ':'); in addr2line()
247 if (sep) { in addr2line()
248 *sep++ = '\0'; in addr2line()
250 *line_nr = strtoul(sep, NULL, 0); in addr2line()
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()
Dcpumap.c58 char sep; in cpu_map__read() local
60 sep = 0; in cpu_map__read()
63 n = fscanf(file, "%u%c", &cpu, &sep); in cpu_map__read()
89 if (n == 2 && sep == '-') in cpu_map__read()
93 if (n == 1 || sep == '\n') in cpu_map__read()
Dsymbol.c529 char *sep; in modules__parse() local
547 sep = strrchr(line, 'x'); in modules__parse()
548 if (sep == NULL) in modules__parse()
551 hex2u64(sep + 1, &start); in modules__parse()
553 sep = strchr(line, ' '); in modules__parse()
554 if (sep == NULL) in modules__parse()
557 *sep = '\0'; in modules__parse()
Dbpf-loader.c239 char *sep, *line; in parse_prog_config_kvpair() local
249 while ((sep = strchr(line, ';'))) { in parse_prog_config_kvpair()
252 *sep = '\0'; in parse_prog_config_kvpair()
266 line = sep + 1; in parse_prog_config_kvpair()
Dsort.c43 char *sep = bf; in repsep_snprintf() local
46 sep = strchr(sep, *symbol_conf.field_sep); in repsep_snprintf()
47 if (sep == NULL) in repsep_snprintf()
49 *sep = '.'; in repsep_snprintf()
Dhist.h226 const char *sep; member
/tools/perf/ui/stdio/
Dhist.c294 const char *sep = symbol_conf.field_sep ?: ";"; in __callchain__fprintf_folded() local
309 ret += fprintf(fp, "%s%s", first ? "" : sep, in __callchain__fprintf_folded()
379 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf() local
396 if (!sep || !first) { in __hist_entry__snprintf()
397 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in __hist_entry__snprintf()
424 const char *sep = symbol_conf.field_sep; in hist_entry__hierarchy_fprintf() local
446 if (!sep || !first) { in hist_entry__hierarchy_fprintf()
447 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in hist_entry__hierarchy_fprintf()
461 if (!sep) in hist_entry__hierarchy_fprintf()
485 printed += fprintf(fp, "%s%s", sep ?: " ", ltrim(buf)); in hist_entry__hierarchy_fprintf()
[all …]
/tools/perf/
Dbuiltin-list.c55 char *sep, *s; in cmd_list() local
75 else if ((sep = strchr(argv[i], ':')) != NULL) { in cmd_list()
78 if (sep == NULL) { in cmd_list()
83 sep_idx = sep - argv[i]; in cmd_list()
/tools/perf/scripts/python/
Dstackcollapse.py110 sep = "-"
112 comm = comm + sep + str(param_dict['sample']['pid'])
113 sep = "/"
115 comm = comm + sep + str(param_dict['sample']['tid'])
/tools/power/cpupower/utils/helpers/
Dbitmask.c104 static const char *nexttoken(const char *q, int sep) in nexttoken() argument
107 q = strchr(q, sep); in nexttoken()
/tools/perf/pmu-events/
Djevents.c81 static void addfield(char *map, char **dst, const char *sep, in addfield() argument
84 unsigned int len = strlen(a) + 1 + strlen(sep); in addfield()
99 strcat(*dst, sep); in addfield()