Home
last modified time | relevance | path

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

12

/tools/perf/arch/arm/util/
A Dpmu.c30 } 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 Dperf.c108 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 Dbuiltin-help.c101 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 Dbuiltin-mem.c541 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 Dbuiltin-config.c82 if (!strstarts(var, section->name)) in show_spec_config()
A Dbuiltin-kvm.c1976 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 Dbuiltin-kwork.c2475 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 Dbuiltin-lock.c2699 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 Dbuiltin-stat.c2541 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 Dbuiltin-daemon.c220 if (strstarts(var, "session-")) { in server_config()
/tools/perf/arch/x86/annotate/
A Dinstructions.c129 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 Dsample-raw.c23 cpuid && strstarts(cpuid, "AuthenticAMD") && in evlist__init_trace_event_sample_raw()
A Dconfig.c503 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 Dmap.c21 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 Damd-sample-raw.c366 if (strstarts(name, "ibs_op")) in evlist__has_amd_ibs()
368 else if (strstarts(name, "ibs_fetch")) in evlist__has_amd_ibs()
A Denv.c789 is_amd = env->cpuid && strstarts(env->cpuid, "AuthenticAMD") ? 1 : -1; in perf_env__is_x86_amd_cpu()
/tools/include/linux/
A Dstring.h42 static inline bool strstarts(const char *str, const char *prefix) in strstarts() function
/tools/lib/subcmd/
A Dparse-options.c393 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 Dhelp.c201 if (!strstarts(de->d_name, prefix)) in list_commands_in_dir()
/tools/testing/selftests/bpf/prog_tests/
A Dsockmap_redir.c308 (!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 Dsymbols.c154 if (dso != text_dso && strstarts(dso__short_name(dso), dso__short_name(text_dso))) in subdivided_dso_cb()
/tools/perf/ui/browsers/
A Dscripts.c68 if (!strstarts(var, "scripts.")) in scripts_config()
/tools/perf/arch/arm64/util/
A Darm-spe.c399 if (!strstarts(evsel->pmu->name, ARM_SPE_PMU_NAME)) { in arm_spe_recording_options()
/tools/perf/ui/
A Dbrowser.c592 if (!strstarts(var, "colors.") != 0) in ui_browser__color_config()
/tools/perf/ui/stdio/
A Dhist.c244 sort_order && strstarts(sort_order, "sym")) in callchain__fprintf_graph()

Completed in 55 milliseconds

12