Home
last modified time | relevance | path

Searched refs:script_name (Results 1 – 2 of 2) sorted by relevance

/tools/perf/ui/browsers/
Dscripts.c28 const char *script_name; member
47 static int list_scripts(char *script_name) in list_scripts() argument
66 strcpy(script_name, paths[choice]); in list_scripts()
91 if (ui_browser__show(&browser->b, browser->script_name, in script_browser__run()
109 char cmd[SCRIPT_FULLPATH_LEN*2], script_name[SCRIPT_FULLPATH_LEN]; in script_browse() local
124 .script_name = script_name, in script_browse()
135 memset(script_name, 0, SCRIPT_FULLPATH_LEN); in script_browse()
136 if (list_scripts(script_name)) in script_browse()
139 sprintf(cmd, "perf script -s %s ", script_name); in script_browse()
/tools/perf/
Dbuiltin-script.c23 static char const *script_name; variable
1125 script_name = strdup(script); in parse_scriptname()
1839 if (argc && !script_name && !rec_script_path && !rep_script_path) { in cmd_script()
1978 if (!script_name) in cmd_script()
2059 if (script_name) { in cmd_script()
2060 err = scripting_ops->start_script(script_name, argc, argv); in cmd_script()
2063 pr_debug("perf script started with script %s\n\n", script_name); in cmd_script()