perf: script: prefer capstone to XED
authorChangbin Du <changbin.du@huawei.com>
Sat, 17 Feb 2024 07:40:46 +0000 (15:40 +0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 21 Feb 2024 02:07:34 +0000 (18:07 -0800)
commit659663f0bccce884059985d5e43e066419cda4e2
tree261442a08f304cdea7bab77473229f16e20e715c
parent6750ba4b6442fa5ea4bf5c0e4b4ff8b0249ef71d
perf: script: prefer capstone to XED

Now perf can show assembly instructions with libcapstone for x86, and the
capstone is better in general.

Signed-off-by: Changbin Du <changbin.du@huawei.com>
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: changbin.du@gmail.com
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240217074046.4100789-6-changbin.du@huawei.com
tools/perf/Documentation/perf-intel-pt.txt
tools/perf/ui/browsers/res_sample.c
tools/perf/ui/browsers/scripts.c