Home
last modified time | relevance | path

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

12

/tools/perf/ui/tui/
A Dutil.c85 const char *sep = strchr(t, '\n'); in ui_browser__input_window() local
87 if (sep == NULL) in ui_browser__input_window()
88 sep = strchr(t, '\0'); in ui_browser__input_window()
89 len = sep - t; in ui_browser__input_window()
93 if (*sep == '\0') in ui_browser__input_window()
95 t = sep + 1; in ui_browser__input_window()
178 if (sep == NULL) in __ui__info_window()
179 sep = strchr(t, '\0'); in __ui__info_window()
180 len = sep - t; in __ui__info_window()
184 if (*sep == '\0') in __ui__info_window()
[all …]
/tools/perf/tests/shell/
A Dtest_arm_coresight_disasm.sh41 sep="\s\|\s"
42 branch_search="\sbl${sep}b${sep}b.ne${sep}b.eq${sep}cbz\s"
/tools/perf/util/
A Dintlist.c97 char *sep; in intlist__parse_list() local
101 unsigned long value = strtol(s, &sep, 10); in intlist__parse_list()
103 if (*sep != ',' && *sep != '\0') in intlist__parse_list()
108 s = sep + 1; in intlist__parse_list()
109 } while (*sep != '\0'); in intlist__parse_list()
A 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()
A Dpfm.c41 const char *sep; in parse_libpfm_events_option() local
52 sep = p ? str + (p - p_orig - 1) : ""; in parse_libpfm_events_option()
53 if (*sep == '{') { in parse_libpfm_events_option()
64 if (*sep == '}') { in parse_libpfm_events_option()
106 if (*sep == '}') { in parse_libpfm_events_option()
A Dstat-display.c149 return sep; in json_sep()
314 const char *sep = config->csv_sep; in print_aggr_id_csv() local
319 id.socket, id.die, id.core, sep, aggr_nr, sep); in print_aggr_id_csv()
323 id.socket, id.die, id.cache_lvl, id.cache, sep, aggr_nr, sep); in print_aggr_id_csv()
327 id.socket, id.die, id.cluster, sep, aggr_nr, sep); in print_aggr_id_csv()
331 id.socket, id.die, sep, aggr_nr, sep); in print_aggr_id_csv()
335 id.socket, sep, aggr_nr, sep); in print_aggr_id_csv()
339 id.node, sep, aggr_nr, sep); in print_aggr_id_csv()
347 id.cpu.cpu, sep); in print_aggr_id_csv()
354 sep); in print_aggr_id_csv()
[all …]
A Dmetricgroup.c562 const char *sep, *rsep, *id = cur->pkey; in metricgroup__build_event_string() local
592 sep = strchr(id, '@'); in metricgroup__build_event_string()
593 if (sep != NULL) { in metricgroup__build_event_string()
594 ret = strbuf_add(events, id, sep - id); in metricgroup__build_event_string()
598 rsep = strrchr(sep, '@'); in metricgroup__build_event_string()
599 ret = strbuf_add(events, sep + 1, rsep - sep - 1); in metricgroup__build_event_string()
603 sep = rsep; in metricgroup__build_event_string()
605 sep = strchr(id, ':'); in metricgroup__build_event_string()
606 if (sep != NULL) { in metricgroup__build_event_string()
621 if (sep != NULL) { in metricgroup__build_event_string()
[all …]
A Dsrcline.c434 char *sep; in filename_split() local
436 sep = strchr(filename, '\n'); in filename_split()
437 if (sep) in filename_split()
438 *sep = '\0'; in filename_split()
443 sep = strchr(filename, ':'); in filename_split()
444 if (sep) { in filename_split()
445 *sep++ = '\0'; in filename_split()
446 *line_nr = strtoul(sep, NULL, 0); in filename_split()
A Dsymbol.c675 char *sep, *endptr; in modules__parse() local
693 sep = strrchr(line, 'x'); in modules__parse()
694 if (sep == NULL) in modules__parse()
697 hex2u64(sep + 1, &start); in modules__parse()
699 sep = strchr(line, ' '); in modules__parse()
700 if (sep == NULL) in modules__parse()
703 *sep = '\0'; in modules__parse()
2408 char *sep; in setup_addrlist() local
2419 if (errno || (sep == pos->s)) in setup_addrlist()
2422 if (*sep != '\0') { in setup_addrlist()
[all …]
/tools/bpf/bpftool/
A 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()
122 self->sep = '\0'; in jsonw_reset()
131 self->sep = '\0'; in jsonw_begin()
139 if (self->sep != '\0') in jsonw_end()
142 self->sep = ','; in jsonw_end()
151 self->sep = '\0'; in jsonw_name()
A Dfeature.c333 char *sep; in read_next_kernel_config_option() local
339 sep = strchr(buf, '='); in read_next_kernel_config_option()
340 if (!sep) in read_next_kernel_config_option()
347 *sep = '\0'; in read_next_kernel_config_option()
348 if (!sep[1]) in read_next_kernel_config_option()
351 *value = sep + 1; in read_next_kernel_config_option()
A Dmain.c254 void fprint_hex(FILE *f, void *arg, unsigned int n, const char *sep) in fprint_hex() argument
269 pfx = sep; in fprint_hex()
/tools/perf/ui/stdio/
A Dhist.c421 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf() local
438 if (!sep || !first) { in __hist_entry__snprintf()
466 const char *sep = symbol_conf.field_sep; in hist_entry__hierarchy_fprintf() local
488 if (!sep || !first) { in hist_entry__hierarchy_fprintf()
503 if (!sep) in hist_entry__hierarchy_fprintf()
628 if (sep != NULL || indent < 2) in print_hierarchy_indent()
647 const char *sep = symbol_conf.field_sep; in hists__fprintf_hierarchy_headers() local
709 fprintf(fp, "%s", sep ?: ".."); in hists__fprintf_hierarchy_headers()
758 fprintf(fp, "%s", sep ?: " "); in fprintf_line()
789 if (sep) in hists__fprintf_standard_headers()
[all …]
/tools/perf/scripts/python/
A Dstackcollapse.py113 sep = "-"
115 comm = comm + sep + str(param_dict['sample']['pid'])
116 sep = "/"
118 comm = comm + sep + str(param_dict['sample']['tid'])
A Dexported-sql-viewer.py3877 sep = ""
3884 sep = ","
3897 sep = ""
3904 sep = ""
3907 sep = ","
3916 sep = " "
3973 sep = ""
3979 sep = ","
3991 sep = ""
4010 sep = ","
[all …]
/tools/testing/selftests/net/netfilter/
A Daudit_logread.c98 const char *sep = ""; in readlog() local
123 printf("%s%s=%s", sep, k, v); in readlog()
124 sep = " "; in readlog()
126 if (*sep) { in readlog()
A Dnft_audit.sh105 sep=""
108 cmd+="$sep add rule $table $chain counter"
109 sep=";"
/tools/perf/arch/s390/util/
A 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/
A Dbuiltin-lock.c1587 static void print_header_csv(const char *sep) in print_header_csv() argument
1593 fprintf(lock_output, "%s%s ", key->header, sep); in print_header_csv()
1597 fprintf(lock_output, "%s%s %s\n", "pid", sep, in print_header_csv()
1601 fprintf(lock_output, "%s%s %s", "type", sep, "caller"); in print_header_csv()
1603 fprintf(lock_output, "%s %s", sep, "stacktrace"); in print_header_csv()
1607 fprintf(lock_output, "%s%s %s%s %s\n", "address", sep, "symbol", sep, "type"); in print_header_csv()
1678 const char *sep) in print_lock_stat_csv() argument
1686 fprintf(lock_output, "%s ", sep); in print_lock_stat_csv()
1698 fprintf(lock_output, "%d%s %s\n", pid, sep, in print_lock_stat_csv()
1703 st->name, sep, get_type_lock_name(st->flags)); in print_lock_stat_csv()
[all …]
A Dbuiltin-list.c99 const char *sep = comma ? "," : " "; in wordwrap() local
106 sep = ""; in wordwrap()
107 n = fprintf(fp, "%s%.*s", sep, wlen, s); in wordwrap()
622 char *sep, *s; in cmd_list() local
677 else if ((sep = strchr(argv[i], ':')) != NULL) { in cmd_list()
/tools/testing/selftests/powerpc/papr_vpd/
A Dpapr_vpd.c239 char *sep = strchr(mtm, '-'); in get_system_loc_code() local
240 if (!sep) in get_system_loc_code()
243 *sep = '.'; in get_system_loc_code()
/tools/power/cpupower/utils/helpers/
A Dbitmask.c105 static const char *nexttoken(const char *q, int sep) in nexttoken() argument
108 q = strchr(q, sep); in nexttoken()
/tools/testing/selftests/mm/
A Drun_vmtests.sh246 local sep=$(echo -n "$title" | tr "[:graph:][:space:]" -)
247 printf "%s\n%s\n%s\n" "$sep" "$title" "$sep" | tap_prefix
/tools/mm/
A Dpage_owner_sort.c261 static char **explode(char sep, const char *str, int *size) in explode() argument
267 if (str[i] == sep) in explode()
272 if (str[i] == sep) { in explode()
/tools/testing/selftests/net/
A Dnettest.c766 char *str, *dev, *sep; in convert_addr() local
809 sep = strchr(str, '/'); in convert_addr()
810 if (sep) { in convert_addr()
811 *sep = '\0'; in convert_addr()
812 sep++; in convert_addr()
813 if (str_to_uint(sep, 1, pfx_len_max, in convert_addr()

Completed in 64 milliseconds

12