| /tools/perf/ui/tui/ |
| A D | util.c | 85 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 D | test_arm_coresight_disasm.sh | 41 sep="\s\|\s" 42 branch_search="\sbl${sep}b${sep}b.ne${sep}b.eq${sep}cbz\s"
|
| /tools/perf/util/ |
| A D | intlist.c | 97 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 D | strlist.c | 144 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 D | pfm.c | 41 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 D | stat-display.c | 149 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 D | metricgroup.c | 562 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 D | srcline.c | 434 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 D | symbol.c | 675 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 D | json_writer.c | 25 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 D | feature.c | 333 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 D | main.c | 254 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 D | hist.c | 421 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 D | stackcollapse.py | 113 sep = "-" 115 comm = comm + sep + str(param_dict['sample']['pid']) 116 sep = "/" 118 comm = comm + sep + str(param_dict['sample']['tid'])
|
| A D | exported-sql-viewer.py | 3877 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 D | audit_logread.c | 98 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 D | nft_audit.sh | 105 sep="" 108 cmd+="$sep add rule $table $chain counter" 109 sep=";"
|
| /tools/perf/arch/s390/util/ |
| A D | header.c | 111 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 D | builtin-lock.c | 1587 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 D | builtin-list.c | 99 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 D | papr_vpd.c | 239 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 D | bitmask.c | 105 static const char *nexttoken(const char *q, int sep) in nexttoken() argument 108 q = strchr(q, sep); in nexttoken()
|
| /tools/testing/selftests/mm/ |
| A D | run_vmtests.sh | 246 local sep=$(echo -n "$title" | tr "[:graph:][:space:]" -) 247 printf "%s\n%s\n%s\n" "$sep" "$title" "$sep" | tap_prefix
|
| /tools/mm/ |
| A D | page_owner_sort.c | 261 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 D | nettest.c | 766 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()
|