1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#! stap -p2 # check that number comparisons work in CONFIG checks probe %( CONFIG_NR_CPUS == 13 %? noprobe %: %( CONFIG_NR_CPUS < 1 %? nonoprobe %: %( CONFIG_NR_CPUS >= 0 %? begin %: nononoprobe %) %) %) { exit() }