]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - tools/perf/util/dump-insn.h
Merge tag 'nfs-for-4.12-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
[mirror_ubuntu-artful-kernel.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