Linux Perf
dump-insn.c
Go to the documentation of this file.
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/compiler.h>
3 #include "dump-insn.h"
4 
5 /* Fallback code */
6 
7 __weak
8 const char *dump_insn(struct perf_insn *x __maybe_unused,
9  u64 ip __maybe_unused, u8 *inbuf __maybe_unused,
10  int inlen __maybe_unused, int *lenp)
11 {
12  if (lenp)
13  *lenp = 0;
14  return "?";
15 }
__weak const char * dump_insn(struct perf_insn *x __maybe_unused, u64 ip __maybe_unused, u8 *inbuf __maybe_unused, int inlen __maybe_unused, int *lenp)
Definition: dump-insn.c:8