xref: /openbmc/linux/tools/perf/util/dump-insn.c (revision 6aa7de05)
1 #include <linux/compiler.h>
2 #include "dump-insn.h"
3 
4 /* Fallback code */
5 
6 __weak
7 const char *dump_insn(struct perf_insn *x __maybe_unused,
8 		      u64 ip __maybe_unused, u8 *inbuf __maybe_unused,
9 		      int inlen __maybe_unused, int *lenp)
10 {
11 	if (lenp)
12 		*lenp = 0;
13 	return "?";
14 }
15