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