John Kacur | 8b40f52 | 2009-09-24 18:02:18 +0200 | [diff] [blame] | 1 | #ifndef __PERF_EXEC_CMD_H |
| 2 | #define __PERF_EXEC_CMD_H |
Ingo Molnar | 0780060 | 2009-04-20 15:00:56 +0200 | [diff] [blame] | 3 | |
| 4 | extern void perf_set_argv_exec_path(const char *exec_path); |
| 5 | extern const char *perf_extract_argv0_path(const char *path); |
| 6 | extern const char *perf_exec_path(void); |
| 7 | extern void setup_path(void); |
Ingo Molnar | 0780060 | 2009-04-20 15:00:56 +0200 | [diff] [blame] | 8 | extern int execv_perf_cmd(const char **argv); /* NULL terminated */ |
| 9 | extern int execl_perf_cmd(const char *cmd, ...); |
| 10 | extern const char *system_path(const char *path); |
| 11 | |
John Kacur | 8b40f52 | 2009-09-24 18:02:18 +0200 | [diff] [blame] | 12 | #endif /* __PERF_EXEC_CMD_H */ |