summaryrefslogtreecommitdiff
path: root/tools/perf/util/session.h
blob: f3699c8c8ed4da77e3e1a87a058dcd20049eebe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __PERF_SESSION_H
#define __PERF_SESSION_H

#include "header.h"

struct perf_session {
	struct perf_header	header;
	unsigned long		size;
	int			fd;
	char filename[0];
};

struct perf_session *perf_session__new(const char *filename, int mode, bool force);
void perf_session__delete(struct perf_session *self);

#endif /* __PERF_SESSION_H */