diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-11-16 18:06:18 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-17 01:16:48 -0500 |
commit | d65ff75fbe6f8ac7c17f18e4108521898468822c (patch) | |
tree | cd118586583d8699afb5153514224a9fd5c0268a /arch/x86/tools/Makefile | |
parent | 444a2a3bcd6d5bed5c823136f68fcc93c0fe283f (diff) |
x86: Add verbose option to insn decoder test
Add verbose option to insn decoder test. This dumps decoded
instruction when building kernel with V=1.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
LKML-Reference: <20091116230618.5250.18762.stgit@harusame>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/tools/Makefile')
-rw-r--r-- | arch/x86/tools/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/x86/tools/Makefile b/arch/x86/tools/Makefile index 5e295d95dc25..4688f90ce5a2 100644 --- a/arch/x86/tools/Makefile +++ b/arch/x86/tools/Makefile | |||
@@ -1,6 +1,13 @@ | |||
1 | PHONY += posttest | 1 | PHONY += posttest |
2 | |||
3 | ifeq ($(KBUILD_VERBOSE),1) | ||
4 | postest_verbose = -v | ||
5 | else | ||
6 | postest_verbose = | ||
7 | endif | ||
8 | |||
2 | quiet_cmd_posttest = TEST $@ | 9 | quiet_cmd_posttest = TEST $@ |
3 | cmd_posttest = $(OBJDUMP) -d -j .text $(objtree)/vmlinux | awk -f $(srctree)/arch/x86/tools/distill.awk | $(obj)/test_get_len $(CONFIG_64BIT) | 10 | cmd_posttest = $(OBJDUMP) -d -j .text $(objtree)/vmlinux | awk -f $(srctree)/arch/x86/tools/distill.awk | $(obj)/test_get_len -$(CONFIG_64BIT) $(posttest_verbose) |
4 | 11 | ||
5 | posttest: $(obj)/test_get_len vmlinux | 12 | posttest: $(obj)/test_get_len vmlinux |
6 | $(call cmd,posttest) | 13 | $(call cmd,posttest) |