Home | History | Annotate | Download | only in perf

Lines Matching refs:page

103 static void exec_woman_emacs(const char *path, const char *page)
111 strbuf_addf(&man_page, "(woman \"%s\")", page);
117 static void exec_man_konqueror(const char *path, const char *page)
139 strbuf_addf(&man_page, "man:%s(1)", page);
145 static void exec_man_man(const char *path, const char *page)
149 execlp(path, "man", page, NULL);
153 static void exec_man_cmd(const char *cmd, const char *page)
156 strbuf_addf(&shell_cmd, "%s %s", cmd, page);
317 * system-wide paths after ours to find the manual page. If
329 static void exec_viewer(const char *name, const char *page)
334 exec_man_man(info, page);
336 exec_woman_emacs(info, page);
338 exec_man_konqueror(info, page);
340 exec_man_cmd(info, page);
348 const char *page = cmd_to_page(perf_cmd);
353 exec_viewer(viewer->name, page); /* will return when unable */
356 exec_viewer(fallback, page);
357 exec_viewer("man", page);
365 const char *page = cmd_to_page(perf_cmd);
367 execlp("info", "info", "perfman", page, NULL);
371 static int get_html_page_path(struct strbuf *page_path, const char *page)
384 strbuf_addf(page_path, "%s/%s.html", html_path, page);
403 const char *page = cmd_to_page(perf_cmd);
406 if (get_html_page_path(&page_path, page) != 0)
420 OPT_SET_UINT('m', "man", &help_format, "show man page", HELP_FORMAT_MAN),
423 OPT_SET_UINT('i', "info", &help_format, "show info page",