blob: f6d9ff9cab209de115d6020702be0111c130b5e4 [file] [log] [blame]
Arnaldo Carvalho de Melo7b2567c2010-02-03 16:52:04 -02001#ifndef PERF_BUILD_ID_H_
2#define PERF_BUILD_ID_H_ 1
3
4#include "session.h"
5
Arnaldo Carvalho de Melo45694aa2011-11-28 08:30:20 -02006extern struct perf_tool build_id__mark_dso_hit_ops;
Arnaldo Carvalho de Melo7b2567c2010-02-03 16:52:04 -02007
Jiri Olsaebb296c2012-10-27 23:18:28 +02008int build_id__sprintf(const u8 *build_id, int len, char *bf);
Arnaldo Carvalho de Melob36f19d2010-05-20 12:15:33 -03009char *dso__build_id_filename(struct dso *self, char *bf, size_t size);
10
Andrew Vagin54a3cf52012-08-07 16:56:05 +040011int build_id__mark_dso_hit(struct perf_tool *tool, union perf_event *event,
12 struct perf_sample *sample, struct perf_evsel *evsel,
13 struct machine *machine);
14
Arnaldo Carvalho de Melo7b2567c2010-02-03 16:52:04 -020015#endif