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