2 * Copyright (C) 2012 Fusion-io
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.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 #ifndef __IOWATCH_TRACERS
19 #define __IOWATCH_TRACERS
20 int run_program(char *str);
21 int stop_blktrace(void);
22 int start_blktrace(char **devices, int num_devices, char *trace_name, char *dest);
23 int start_mpstat(char *trace_name);
24 int wait_for_tracers(void);
25 int blktrace_to_dump(char *trace_name);
26 int start_mpstat(char *trace_name);