Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.8-rc5 21 lines 369 B view raw
1#!/bin/sh 2# SPDX-License-Identifier: GPL-2.0 3 4perf_has_symbol() 5{ 6 if perf test -vv "Symbols" 2>&1 | grep "[[:space:]]$1$"; then 7 echo "perf does have symbol '$1'" 8 return 0 9 fi 10 echo "perf does not have symbol '$1'" 11 return 1 12} 13 14skip_test_missing_symbol() 15{ 16 if ! perf_has_symbol "$1" ; then 17 echo "perf is missing symbols - skipping test" 18 exit 2 19 fi 20 return 0 21}