Lines Matching full:branch
2 # Check branch stack sampling
11 # skip the test if the hardware doesn't support branch stack sampling
13 if ! perf record -o- --no-buildid --branch-filter any,save_type,u -- true > /dev/null 2>&1 ; then
49 echo "Testing user branch stack sampling"
51 …perf record -o "$TMPDIR/perf.data" --branch-filter any,save_type,u -- ${TESTPROG} > "$TMPDIR/recor…
54 # example of branch entries:
82 # some branch types are still not being tested:
91 perf record -o $TMPDIR/perf.data --branch-filter any,save_type,u,k -- \
105 if ! perf record --branch-filter any,k -o- -- true > /dev/null; then
108 perf record -o $TMPDIR/perf.data --branch-filter any,k -- \
113 # Example of branch entries:
132 # first argument <arg0> is the argument passed to "--branch-stack <arg0>,save_type,u"
133 # second argument are the expected branch types for the given filter
138 echo "Testing branch stack filtering permutation ($test_filter_filter,$test_filter_expect)"
139 …perf record -o "$TMPDIR/perf.data" --branch-filter "$test_filter_filter,save_type,u" -- ${TESTPROG…
142 # fail if we find any branch type that doesn't match any of the expected ones
143 # also consider UNKNOWN branch types (-)
157 echo "Unexpected branch filter in script output"
167 if ! perf record --branch-filter any,k -o- -- true > /dev/null; then
170 perf record -o $TMPDIR/perf.data --branch-filter \