![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef __PERF_DUMP_INSN_H 0003 #define __PERF_DUMP_INSN_H 1 0004 0005 #define MAXINSN 15 0006 0007 #include <linux/types.h> 0008 0009 struct thread; 0010 0011 struct perf_insn { 0012 /* Initialized by callers: */ 0013 struct thread *thread; 0014 u8 cpumode; 0015 bool is64bit; 0016 int cpu; 0017 /* Temporary */ 0018 char out[256]; 0019 }; 0020 0021 const char *dump_insn(struct perf_insn *x, u64 ip, 0022 u8 *inbuf, int inlen, int *lenp); 0023 int arch_is_branch(const unsigned char *buf, size_t len, int x86_64); 0024 0025 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |