aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/dump-insn.c
blob: ffbdb19f05d01d2a2204551867cd9ef15da753aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <linux/compiler.h>
#include "dump-insn.h"

/* Fallback code */

__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)
{
	if (lenp)
		*lenp = 0;
	return "?";
}