perf tools: Move build_id__sprintf into build-id object
[linux-2.6-block.git] / tools / perf / util / build-id.h
CommitLineData
7b2567c1
ACM
1#ifndef PERF_BUILD_ID_H_
2#define PERF_BUILD_ID_H_ 1
3
4#include "session.h"
5
45694aa7 6extern struct perf_tool build_id__mark_dso_hit_ops;
7b2567c1 7
ebb296c2 8int build_id__sprintf(const u8 *build_id, int len, char *bf);
b36f19d5
ACM
9char *dso__build_id_filename(struct dso *self, char *bf, size_t size);
10
54a3cf59
AV
11int 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
7b2567c1 15#endif