Home
last modified time | relevance | path

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

/tools/perf/
Dperf.c101 if (strstarts(var, "pager.") && !strcmp(var + 6, c->cmd)) in pager_command_config()
120 if (strstarts(var, "tui.") && !strcmp(var + 4, c->cmd)) in browser_command_config()
122 if (strstarts(var, "gtk.") && !strcmp(var + 4, c->cmd)) in browser_command_config()
210 if (strstarts(cmd, CMD_EXEC_PATH)) { in handle_options()
247 } else if (strstarts(cmd, CMD_DEBUGFS_DIR)) { in handle_options()
477 if (strstarts(cmd, "perf-")) { in main()
488 if (strstarts(cmd, "trace")) { in main()
506 if (strstarts(argv[0], "--")) in main()
Dbuiltin-help.c99 if (!strstarts(buffer.buf, "emacsclient")) { in check_emacsclient_version()
292 if (strstarts(var, "man.")) in perf_help_config()
322 else if (strstarts(perf_cmd, "perf")) in cmd_to_page()
Dbuiltin-config.c81 if (!strstarts(var, section->name)) in show_spec_config()
Dbuiltin-ftrace.c406 if (!strstarts(var, "ftrace.")) in perf_ftrace_config()
Dbuiltin-trace.c2642 if (!strstarts(perf_evsel__name(evsel), "probe:vfs_getname")) in evlist__add_vfs_getname()
3171 strstarts(thread__comm_str(parent), "gnome-terminal")) { in trace__set_filter_loop_pids()
4346 if (strstarts(perf_evsel__name(evsel), "syscalls:sys_exit_")) { in cmd_trace()
/tools/perf/arch/arm/util/
Dpmu.c23 } else if (strstarts(pmu->name, ARM_SPE_PMU_NAME)) { in perf_pmu__get_default_config()
/tools/include/linux/
Dstring.h32 static inline bool strstarts(const char *str, const char *prefix) in strstarts() function
/tools/perf/util/
Dconfig.c446 if (strstarts(var, "core.")) in perf_default_config()
449 if (strstarts(var, "hist.")) in perf_default_config()
452 if (strstarts(var, "ui.")) in perf_default_config()
455 if (strstarts(var, "call-graph.")) in perf_default_config()
458 if (strstarts(var, "llvm.")) in perf_default_config()
461 if (strstarts(var, "buildid.")) in perf_default_config()
Dllvm-utils.c43 if (!strstarts(var, "llvm.")) in perf_llvm_config()
Dcallchain.c317 if (!strstarts(var, "call-graph.")) in perf_callchain_config()
Dbpf-loader.c1243 if (strstarts(term->config, "map:")) { in bpf__config_obj()
Dannotate.c3055 if (!strstarts(var, "annotate.")) in annotation__config()
/tools/lib/subcmd/
Dparse-options.c390 if (strstarts(options->long_name, "no-")) { in parse_long_opt()
403 if (strstarts(options->long_name + 3, arg)) { in parse_long_opt()
428 if (strstarts("no-", arg)) { in parse_long_opt()
438 if (!rest && strstarts(options->long_name, arg + 3)) in parse_long_opt()
478 if (strstarts(arg, "no-")) { in check_typos()
486 if (strstarts(options->long_name, arg)) { in check_typos()
956 if (strstarts(opts->long_name, optstr)) in parse_options_usage()
958 if (strstarts("no-", optstr) && in parse_options_usage()
959 strstarts(opts->long_name, optstr + 3)) in parse_options_usage()
Dhelp.c175 if (!strstarts(de->d_name, prefix)) in list_commands_in_dir()
/tools/perf/ui/browsers/
Dscripts.c66 if (!strstarts(var, "scripts.")) in scripts_config()
/tools/perf/ui/
Dbrowser.c580 if (!strstarts(var, "colors.") != 0) in ui_browser__color_config()
/tools/perf/ui/stdio/
Dhist.c239 sort_order && strstarts(sort_order, "sym")) in callchain__fprintf_graph()