blkparse: Initialize and test for undefined request tracking timestamps
[blktrace.git] / iowatcher / tracers.h
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
15  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16  *
17  */
18 #ifndef __IOWATCH_TRACERS
19 #define __IOWATCH_TRACERS
20 int run_program(int argc, char **argv, int wait, pid_t *pid, char *stdoutpath);
21 int wait_program(pid_t pid, const char *pname, int signal);
22 int stop_blktrace(void);
23 int start_blktrace(char **devices, int num_devices, char *trace_name, char *dest);
24 int start_mpstat(char *trace_name);
25 int wait_for_tracers(int sig);
26
27
28 #endif