3 # Exercise pmdalinux softirqs no-values edge case.
5 # Copyright (c) 2016 Red Hat.
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
16 [ $PCP_PLATFORM = linux
] || _notrun
"Linux interrupts/softirqs testing"
18 status
=1 # failure is the default!
19 $sudo rm -rf $tmp $tmp.
* $seq.full
20 trap "cd $here; rm -rf $tmp $tmp.*; exit \$status" 0 1 2 3 15
22 # real QA test starts here
23 mkdir
-p $tmp.root
/proc
24 cp -a /proc
/stat
$tmp.root
/proc
/stat
26 export LINUX_STATSPATH
=$tmp.root
27 pmda
=$PCP_PMDAS_DIR/linux
/pmda_linux.so
,linux_init
29 echo && echo "Checking non-existent softirqs data"
30 pminfo
-f -L -K clear -K add
,60,$pmda kernel.percpu.softirqs