]> git.karo-electronics.de Git - karo-tx-linux.git/blob - tools/perf/util/dump-insn.h
Merge tag 'perf-core-for-mingo-4.12-20170316' of git://git.kernel.org/pub/scm/linux...
[karo-tx-linux.git] / tools / perf / util / dump-insn.h
1 #ifndef __PERF_DUMP_INSN_H
2 #define __PERF_DUMP_INSN_H 1
3
4 #define MAXINSN 15
5
6 #include <linux/types.h>
7
8 struct thread;
9
10 struct perf_insn {
11         /* Initialized by callers: */
12         struct thread *thread;
13         u8            cpumode;
14         bool          is64bit;
15         int           cpu;
16         /* Temporary */
17         char          out[256];
18 };
19
20 const char *dump_insn(struct perf_insn *x, u64 ip,
21                       u8 *inbuf, int inlen, int *lenp);
22 #endif