Lines Matching refs:perf_cmd
300 static const char *cmd_to_page(const char *perf_cmd) in cmd_to_page() argument
302 if (!perf_cmd) in cmd_to_page()
304 else if (!prefixcmp(perf_cmd, "perf")) in cmd_to_page()
305 return perf_cmd; in cmd_to_page()
307 return prepend("perf-", perf_cmd); in cmd_to_page()
345 static int show_man_page(const char *perf_cmd) in show_man_page() argument
348 const char *page = cmd_to_page(perf_cmd); in show_man_page()
363 static int show_info_page(const char *perf_cmd) in show_info_page() argument
365 const char *page = cmd_to_page(perf_cmd); in show_info_page()
401 static int show_html_page(const char *perf_cmd) in show_html_page() argument
403 const char *page = cmd_to_page(perf_cmd); in show_html_page()