We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a6c184 commit 246122aCopy full SHA for 246122a
tools/perf/tests/shell/test_intel_pt.sh
@@ -526,6 +526,12 @@ test_kernel_trace()
526
test_virtual_lbr()
527
{
528
echo "--- Test virtual LBR ---"
529
+ # Check if python script is supported
530
+ libpython=$(perf version --build-options | grep python | grep -cv OFF)
531
+ if [ "${libpython}" != "1" ] ; then
532
+ echo "SKIP: python scripting is not supported"
533
+ return 2
534
+ fi
535
536
# Python script to determine the maximum size of branch stacks
537
cat << "_end_of_file_" > "${maxbrstack}"
0 commit comments