xref: /openbmc/linux/tools/perf/util/dump-insn.c (revision b78412b8)
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