diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2024-05-02 13:58:53 +0300 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2024-06-25 11:06:19 -0700 |
commit | fcd094e52b71f490d4bedbda86851be8b2766754 (patch) | |
tree | 3b407f542fab2187163bc2f552edb6ac8c667288 /tools/perf/python | |
parent | a44abd2c4c86e6e0b64cdee374e05f9964e3be5c (diff) | |
download | linux-fcd094e52b71f490d4bedbda86851be8b2766754.tar.gz linux-fcd094e52b71f490d4bedbda86851be8b2766754.tar.bz2 linux-fcd094e52b71f490d4bedbda86851be8b2766754.zip |
perf tests: Add APX and other new instructions to x86 instruction decoder test
Add samples of APX and other new instructions to the 'x86 instruction
decoder - new instructions' test.
Note the test is only available if the perf tool has been built with
EXTRA_TESTS=1.
Example:
$ make EXTRA_TESTS=1 -C tools/perf
$ tools/perf/perf test -F -v 'new ins' |& grep -i 'jmpabs\|popp\|pushp'
Decoded ok: d5 00 a1 ef cd ab 90 78 56 34 12 jmpabs $0x1234567890abcdef
Decoded ok: d5 08 53 pushp %rbx
Decoded ok: d5 18 50 pushp %r16
Decoded ok: d5 19 57 pushp %r31
Decoded ok: d5 19 5f popp %r31
Decoded ok: d5 18 58 popp %r16
Decoded ok: d5 08 5b popp %rbx
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Chang S. Bae <chang.seok.bae@intel.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Nikolay Borisov <nik.borisov@suse.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: x86@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240502105853.5338-11-adrian.hunter@intel.com
Diffstat (limited to 'tools/perf/python')
0 files changed, 0 insertions, 0 deletions