1*1a3d31e3SAndroid Build Coastguard Worker /* 2*1a3d31e3SAndroid Build Coastguard Worker * Copyright (C) 2013 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 #ifndef __FIO__ 18*1a3d31e3SAndroid Build Coastguard Worker #define __FIO__ 19*1a3d31e3SAndroid Build Coastguard Worker 20*1a3d31e3SAndroid Build Coastguard Worker int read_fio_event(struct trace *trace, int *time, u64 *bw, int *dir); 21*1a3d31e3SAndroid Build Coastguard Worker int add_fio_gld(unsigned int time, u64 bw, struct graph_line_data *gld); 22*1a3d31e3SAndroid Build Coastguard Worker int next_fio_line(struct trace *trace); 23*1a3d31e3SAndroid Build Coastguard Worker struct trace *open_fio_trace(char *path); 24*1a3d31e3SAndroid Build Coastguard Worker char *first_fio(struct trace *trace); 25*1a3d31e3SAndroid Build Coastguard Worker 26*1a3d31e3SAndroid Build Coastguard Worker #endif 27