1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __PERF_DUMP_INSN_H
3 #define __PERF_DUMP_INSN_H 1
7 #include <linux/types.h>
12 /* Initialized by callers: */
13 struct thread
*thread
;
21 const char *dump_insn(struct perf_insn
*x
, u64 ip
,
22 u8
*inbuf
, int inlen
, int *lenp
);
23 int arch_is_branch(const unsigned char *buf
, size_t len
, int x86_64
);