Linux Perf
|
#include "perf.h"
#include "util/config.h"
#include "builtin.h"
#include <subcmd/exec-cmd.h>
#include "common-cmds.h"
#include <subcmd/parse-options.h>
#include <subcmd/run-command.h>
#include <subcmd/help.h>
#include "util/debug.h"
#include <linux/kernel.h>
#include <errno.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
Go to the source code of this file.
Classes | |
struct | man_viewer_list |
struct | man_viewer_info_list |
Enumerations | |
enum | help_format { HELP_FORMAT_NONE, HELP_FORMAT_MAN, HELP_FORMAT_INFO, HELP_FORMAT_WEB } |
Functions | |
static enum help_format | parse_help_format (const char *format) |
static const char * | get_man_viewer_info (const char *name) |
static int | check_emacsclient_version (void) |
static void | exec_failed (const char *cmd) |
static void | exec_woman_emacs (const char *path, const char *page) |
static void | exec_man_konqueror (const char *path, const char *page) |
static void | exec_man_man (const char *path, const char *page) |
static void | exec_man_cmd (const char *cmd, const char *page) |
static void | add_man_viewer (const char *name) |
static int | supported_man_viewer (const char *name, size_t len) |
static void | do_add_man_viewer_info (const char *name, size_t len, const char *value) |
static void | unsupported_man_viewer (const char *name, const char *var) |
static int | add_man_viewer_path (const char *name, size_t len, const char *value) |
static int | add_man_viewer_cmd (const char *name, size_t len, const char *value) |
static int | add_man_viewer_info (const char *var, const char *value) |
static int | perf_help_config (const char *var, const char *value, void *cb) |
void | list_common_cmds_help (void) |
static const char * | cmd_to_page (const char *perf_cmd) |
static void | setup_man_path (void) |
static void | exec_viewer (const char *name, const char *page) |
static int | show_man_page (const char *perf_cmd) |
static int | show_info_page (const char *perf_cmd) |
static int | get_html_page_path (char **page_path, const char *page) |
static void | open_html (const char *path) |
static int | show_html_page (const char *perf_cmd) |
int | cmd_help (int argc, const char **argv) |
Variables | |
static struct man_viewer_list * | man_viewer_list |
static struct man_viewer_info_list * | man_viewer_info_list |
static struct cmdnames main_cmds | other_cmds |
enum help_format |
Enumerator | |
---|---|
HELP_FORMAT_NONE | |
HELP_FORMAT_MAN | |
HELP_FORMAT_INFO | |
HELP_FORMAT_WEB |
Definition at line 34 of file builtin-help.c.
|
static |
|
static |
|
static |
|
static |
|
static |
int cmd_help | ( | int | argc, |
const char ** | argv | ||
) |
|
static |
Definition at line 311 of file builtin-help.c.
|
static |
|
static |
Definition at line 112 of file builtin-help.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 54 of file builtin-help.c.
void list_common_cmds_help | ( | void | ) |
Definition at line 295 of file builtin-help.c.
|
static |
Definition at line 403 of file builtin-help.c.
|
static |
Definition at line 41 of file builtin-help.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 195 of file builtin-help.c.
|
static |
Definition at line 214 of file builtin-help.c.
|
static |
|
static |
|
static |
Definition at line 293 of file builtin-help.c.