1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef PERF_PRINT_INSN_H 3 #define PERF_PRINT_INSN_H 4 5 #include <stddef.h> 6 #include <stdio.h> 7 8 struct perf_sample; 9 struct thread; 10 struct machine; 11 struct perf_insn; 12 13 size_t sample__fprintf_insn_asm(struct perf_sample *sample, struct thread *thread, 14 struct machine *machine, FILE *fp, struct addr_location *al); 15 size_t sample__fprintf_insn_raw(struct perf_sample *sample, FILE *fp); 16 const char *cs_dump_insn(struct perf_insn *x, uint64_t ip, 17 u8 *inbuf, int inlen, int *lenp); 18 19 #endif /* PERF_PRINT_INSN_H */ 20