perf tools: Document the fact that parse_options*() may exit
[linux-2.6-block.git] / tools / perf / util / exec_cmd.h
CommitLineData
8b40f521
JK
1#ifndef __PERF_EXEC_CMD_H
2#define __PERF_EXEC_CMD_H
07800601
IM
3
4extern void perf_set_argv_exec_path(const char *exec_path);
5extern const char *perf_extract_argv0_path(const char *path);
07800601 6extern void setup_path(void);
07800601
IM
7extern int execv_perf_cmd(const char **argv); /* NULL terminated */
8extern int execl_perf_cmd(const char *cmd, ...);
c4068f51
MH
9/* perf_exec_path and system_path return malloc'd string, caller must free it */
10extern char *perf_exec_path(void);
11extern char *system_path(const char *path);
07800601 12
8b40f521 13#endif /* __PERF_EXEC_CMD_H */