1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef PERF_PRINT_INSN_H
3 #define PERF_PRINT_INSN_H
13 #define PRINT_INSN_IMM_HEX (1<<0)
15 size_t sample__fprintf_insn_asm(struct perf_sample
*sample
, struct thread
*thread
,
16 struct machine
*machine
, FILE *fp
, struct addr_location
*al
);
17 size_t sample__fprintf_insn_raw(struct perf_sample
*sample
, FILE *fp
);
18 ssize_t
fprintf_insn_asm(struct machine
*machine
, struct thread
*thread
, u8 cpumode
,
19 bool is64bit
, const uint8_t *code
, size_t code_size
,
20 uint64_t ip
, int *lenp
, int print_opts
, FILE *fp
);
22 #endif /* PERF_PRINT_INSN_H */