Blame iowatcher/tracers.h
|
Packit |
c4abd9 |
/*
|
|
Packit |
c4abd9 |
* Copyright (C) 2012 Fusion-io
|
|
Packit |
c4abd9 |
*
|
|
Packit |
c4abd9 |
* This program is free software; you can redistribute it and/or
|
|
Packit |
c4abd9 |
* modify it under the terms of the GNU General Public
|
|
Packit |
c4abd9 |
* License v2 as published by the Free Software Foundation.
|
|
Packit |
c4abd9 |
*
|
|
Packit |
c4abd9 |
* This program is distributed in the hope that it will be useful,
|
|
Packit |
c4abd9 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
c4abd9 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
c4abd9 |
* GNU General Public License for more details.
|
|
Packit |
c4abd9 |
*
|
|
Packit |
c4abd9 |
* You should have received a copy of the GNU General Public License
|
|
Packit |
c4abd9 |
* along with this program; if not, write to the Free Software
|
|
Packit |
c4abd9 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
Packit |
c4abd9 |
*
|
|
Packit |
c4abd9 |
*/
|
|
Packit |
c4abd9 |
#ifndef __IOWATCH_TRACERS
|
|
Packit |
c4abd9 |
#define __IOWATCH_TRACERS
|
|
Packit |
c4abd9 |
int run_program(int argc, char **argv, int wait, pid_t *pid, char *stdoutpath);
|
|
Packit |
c4abd9 |
int wait_program(pid_t pid, const char *pname, int signal);
|
|
Packit |
c4abd9 |
int stop_blktrace(void);
|
|
Packit |
c4abd9 |
int start_blktrace(char **devices, int num_devices, char *trace_name, char *dest);
|
|
Packit |
c4abd9 |
int start_mpstat(char *trace_name);
|
|
Packit |
c4abd9 |
int wait_for_tracers(int sig);
|
|
Packit |
c4abd9 |
|
|
Packit |
c4abd9 |
|
|
Packit |
c4abd9 |
#endif
|