| /tools/perf/arch/arm/util/ |
| A D | pmu.c | 30 } else if (strstarts(pmu->name, ARM_SPE_PMU_NAME)) { in perf_pmu__arch_init() 35 if (strstarts(pmu->name, "arm_spe_")) in perf_pmu__arch_init() 37 } else if (strstarts(pmu->name, HISI_PTT_PMU_NAME)) { in perf_pmu__arch_init()
|
| /tools/perf/ |
| A D | perf.c | 108 return (strstarts(var, header) && !strcmp(var + strlen(header), c->cmd)); in same_cmd_with_prefix() 237 if (strstarts(cmd, CMD_EXEC_PATH)) { in handle_options() 274 } else if (strstarts(cmd, CMD_DEBUGFS_DIR)) { in handle_options() 498 if (strstarts(cmd, "perf-")) { in main() 509 if (strstarts(cmd, "trace")) { in main() 527 if (strstarts(argv[0], "--")) in main()
|
| A D | builtin-help.c | 101 if (!strstarts(buffer.buf, "emacsclient")) { in check_emacsclient_version() 294 if (strstarts(var, "man.")) in perf_help_config() 324 else if (strstarts(perf_cmd, "perf")) in cmd_to_page()
|
| A D | builtin-mem.c | 541 if (strlen(argv[0]) > 2 && strstarts("record", argv[0])) in cmd_mem() 543 else if (strlen(argv[0]) > 2 && strstarts("report", argv[0])) in cmd_mem()
|
| A D | builtin-config.c | 82 if (!strstarts(var, section->name)) in show_spec_config()
|
| A D | builtin-kvm.c | 1976 if (strlen(argv[1]) > 2 && strstarts("record", argv[1])) in kvm_cmd_stat() 1979 if (strlen(argv[1]) > 2 && strstarts("report", argv[1])) in kvm_cmd_stat() 2110 if (strlen(argv[0]) > 2 && strstarts("record", argv[0])) in cmd_kvm() 2112 else if (strlen(argv[0]) > 2 && strstarts("report", argv[0])) in cmd_kvm() 2114 else if (strlen(argv[0]) > 2 && strstarts("diff", argv[0])) in cmd_kvm() 2118 else if (strlen(argv[0]) > 2 && strstarts("buildid-list", argv[0])) in cmd_kvm() 2121 else if (strlen(argv[0]) > 2 && strstarts("stat", argv[0])) in cmd_kvm()
|
| A D | builtin-kwork.c | 2475 if (strlen(argv[0]) > 2 && strstarts("record", argv[0])) { in cmd_kwork() 2478 } else if (strlen(argv[0]) > 2 && strstarts("report", argv[0])) { in cmd_kwork() 2489 } else if (strlen(argv[0]) > 2 && strstarts("latency", argv[0])) { in cmd_kwork() 2500 } else if (strlen(argv[0]) > 2 && strstarts("timehist", argv[0])) { in cmd_kwork() 2509 } else if (strlen(argv[0]) > 2 && strstarts("top", argv[0])) { in cmd_kwork()
|
| A D | builtin-lock.c | 2699 if (strlen(argv[0]) > 2 && strstarts("record", argv[0])) { in cmd_lock() 2701 } else if (strlen(argv[0]) > 2 && strstarts("report", argv[0])) { in cmd_lock() 2730 } else if (strlen(argv[0]) > 2 && strstarts("contention", argv[0])) { in cmd_lock()
|
| A D | builtin-stat.c | 2541 if (argc && strlen(argv[0]) > 2 && strstarts("record", argv[0])) { in cmd_stat() 2545 } else if (argc && strlen(argv[0]) > 2 && strstarts("report", argv[0])) in cmd_stat()
|
| A D | builtin-daemon.c | 220 if (strstarts(var, "session-")) { in server_config()
|
| /tools/perf/arch/x86/annotate/ |
| A D | instructions.c | 129 if (arch->family >= 0x15 && (strstarts(ins1, "test") || in amd__ins_is_fused() 130 (strstarts(ins1, "cmp") && !strstr(ins1, "xchg")))) { in amd__ins_is_fused() 135 if (arch->family >= 0x19 && (strstarts(ins1, "add") || in amd__ins_is_fused() 136 strstarts(ins1, "sub") || strstarts(ins1, "and") || in amd__ins_is_fused() 137 strstarts(ins1, "inc") || strstarts(ins1, "dec") || in amd__ins_is_fused() 138 strstarts(ins1, "or") || strstarts(ins1, "xor"))) { in amd__ins_is_fused() 185 arch->ins_is_fused = strstarts(cpuid, "AuthenticAMD") ? in x86__cpuid_parse()
|
| /tools/perf/util/ |
| A D | sample-raw.c | 23 cpuid && strstarts(cpuid, "AuthenticAMD") && in evlist__init_trace_event_sample_raw()
|
| A D | config.c | 503 if (strstarts(var, "core.")) in perf_default_config() 506 if (strstarts(var, "hist.")) in perf_default_config() 509 if (strstarts(var, "ui.")) in perf_default_config() 512 if (strstarts(var, "call-graph.")) in perf_default_config() 515 if (strstarts(var, "buildid.")) in perf_default_config() 518 if (strstarts(var, "stat.")) in perf_default_config()
|
| A D | map.c | 21 return strstarts(filename, "/data/app-lib/") || in is_android_lib() 22 strstarts(filename, "/system/lib/"); in is_android_lib() 42 if (strstarts(filename, "/data/app-lib/")) { in replace_android_lib() 66 if (strstarts(filename, "/system/lib/")) { in replace_android_lib()
|
| A D | amd-sample-raw.c | 366 if (strstarts(name, "ibs_op")) in evlist__has_amd_ibs() 368 else if (strstarts(name, "ibs_fetch")) in evlist__has_amd_ibs()
|
| A D | env.c | 789 is_amd = env->cpuid && strstarts(env->cpuid, "AuthenticAMD") ? 1 : -1; in perf_env__is_x86_amd_cpu()
|
| /tools/include/linux/ |
| A D | string.h | 42 static inline bool strstarts(const char *str, const char *prefix) in strstarts() function
|
| /tools/lib/subcmd/ |
| A D | parse-options.c | 393 if (strstarts(options->long_name, "no-")) { in parse_long_opt() 406 if (strstarts(options->long_name + 3, arg)) { in parse_long_opt() 431 if (strstarts("no-", arg)) { in parse_long_opt() 441 if (!rest && strstarts(options->long_name, arg + 3)) in parse_long_opt() 481 if (strstarts(arg, "no-")) { in check_typos() 489 if (strstarts(options->long_name, arg)) { in check_typos() 982 if (strstarts(opts->long_name, optstr)) in parse_options_usage() 984 if (strstarts("no-", optstr) && in parse_options_usage() 985 strstarts(opts->long_name, optstr + 3)) in parse_options_usage()
|
| A D | help.c | 201 if (!strstarts(de->d_name, prefix)) in list_commands_in_dir()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | sockmap_redir.c | 308 (!strcmp(c->in, "any") || strstarts(in, c->in)) && in is_redir_supported() 309 (!strcmp(c->out, "any") || strstarts(out, c->out))) in is_redir_supported() 321 if (type == SK_SKB_INGRESS && strstarts(out, "v_")) in get_support_status()
|
| /tools/perf/tests/ |
| A D | symbols.c | 154 if (dso != text_dso && strstarts(dso__short_name(dso), dso__short_name(text_dso))) in subdivided_dso_cb()
|
| /tools/perf/ui/browsers/ |
| A D | scripts.c | 68 if (!strstarts(var, "scripts.")) in scripts_config()
|
| /tools/perf/arch/arm64/util/ |
| A D | arm-spe.c | 399 if (!strstarts(evsel->pmu->name, ARM_SPE_PMU_NAME)) { in arm_spe_recording_options()
|
| /tools/perf/ui/ |
| A D | browser.c | 592 if (!strstarts(var, "colors.") != 0) in ui_browser__color_config()
|
| /tools/perf/ui/stdio/ |
| A D | hist.c | 244 sort_order && strstarts(sort_order, "sym")) in callchain__fprintf_graph()
|