perf intel-pt: Fix async branch flags
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 28 Sep 2023 07:29:53 +0000 (10:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:07:07 +0000 (17:07 +0000)
commit4cb064f6174a439dea1917f69ec06edceff271a9
treef415c647b49d2701297d980bd885308ec3152d0a
parenta1d8f675ea5878d5ff0fb23219112d0aaf304435
perf intel-pt: Fix async branch flags

commit f2d87895cbc4af80649850dcf5da36de6b2ed3dd upstream.

Ensure PERF_IP_FLAG_ASYNC is set always for asynchronous branches (i.e.
interrupts etc).

Fixes: 90e457f7be08 ("perf tools: Add Intel PT support")
Cc: stable@vger.kernel.org
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20230928072953.19369-1-adrian.hunter@intel.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/perf/util/intel-pt.c