Lines Matching full:branch
2 # Check branch stack sampling
7 # skip the test if the hardware doesn't support branch stack sampling
9 if ! perf record -o- --no-buildid --branch-filter any,save_type,u -- true > /dev/null 2>&1 ; then
24 echo "Testing user branch stack sampling"
26 perf record -o $TMPDIR/perf.data --branch-filter any,save_type,u -- ${TESTPROG} > /dev/null 2>&1
29 # example of branch entries:
43 # some branch types are still not being tested:
47 # first argument <arg0> is the argument passed to "--branch-stack <arg0>,save_type,u"
48 # second argument are the expected branch types for the given filter
53 echo "Testing branch stack filtering permutation ($test_filter_filter,$test_filter_expect)"
55 …perf record -o $TMPDIR/perf.data --branch-filter $test_filter_filter,save_type,u -- ${TESTPROG} > …
58 # fail if we find any branch type that doesn't match any of the expected ones
59 # also consider UNKNOWN branch types (-)