perf test: Fix record test on KVM guests
authorMichael Petlan <mpetlan@redhat.com>
Tue, 22 Nov 2022 08:31:21 +0000 (09:31 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 23 Nov 2022 13:35:45 +0000 (10:35 -0300)
commit2e9f5bda2f036aa38312fbeb99ff7e19c0221578
treefd7f20701bc8f67d494f498bf99f4b81acadc11f
parent19030564ab116757e3270a567fd9d5b20b411d74
perf test: Fix record test on KVM guests

Using precise flag with br_inst_retired.near_call causes the test fail
on KVM guests, even when the guests have PMU forwarding enabled and the
event itself is supported.

Remove the precise flag in order to make the test work on KVM guests.

Signed-off-by: Michael Petlan <mpetlan@redhat.com>
Acked-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20221122083121.6012-1-mpetlan@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/record.sh