|
Packit |
c4abd9 |
/*
|
|
Packit |
c4abd9 |
* Copyright (C) 2013 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 |
#ifndef __FIO__
|
|
Packit |
c4abd9 |
#define __FIO__
|
|
Packit |
c4abd9 |
|
|
Packit |
c4abd9 |
int read_fio_event(struct trace *trace, int *time, u64 *bw, int *dir);
|
|
Packit |
c4abd9 |
int add_fio_gld(unsigned int time, u64 bw, struct graph_line_data *gld);
|
|
Packit |
c4abd9 |
int next_fio_line(struct trace *trace);
|
|
Packit |
c4abd9 |
struct trace *open_fio_trace(char *path);
|
|
Packit |
c4abd9 |
char *first_fio(struct trace *trace);
|
|
Packit |
c4abd9 |
|
|
Packit |
c4abd9 |
#endif
|