Commit | Line | Data |
---|---|---|
9e066e23 CM |
1 | /* |
2 | * Copyright (C) 2012 Fusion-io | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or | |
5 | * modify it under the terms of the GNU General Public | |
6 | * License v2 as published by the Free Software Foundation. | |
7 | * | |
8 | * This program is distributed in the hope that it will be useful, | |
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
11 | * GNU General Public License for more details. | |
12 | * | |
13 | * You should have received a copy of the GNU General Public License | |
14 | * along with this program; if not, write to the Free Software | |
660b0411 | 15 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
9e066e23 CM |
16 | * |
17 | */ | |
18 | #ifndef __IOWATCH_TRACERS | |
19 | #define __IOWATCH_TRACERS | |
49559b61 | 20 | int run_program(int argc, char **argv, int wait, pid_t *pid, char *stdoutpath); |
30420b58 | 21 | int wait_program(pid_t pid, const char *pname, int signal); |
9e066e23 | 22 | int stop_blktrace(void); |
2203e914 | 23 | int start_blktrace(char **devices, int num_devices, char *trace_name, char *dest); |
e199d546 | 24 | int start_mpstat(char *trace_name); |
49559b61 | 25 | int wait_for_tracers(int sig); |
e199d546 | 26 | |
9e066e23 CM |
27 | |
28 | #endif |