diff options
Diffstat (limited to 'testsuite/semok/config_config.stp')
-rwxr-xr-x | testsuite/semok/config_config.stp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/semok/config_config.stp b/testsuite/semok/config_config.stp new file mode 100755 index 00000000..287931e2 --- /dev/null +++ b/testsuite/semok/config_config.stp @@ -0,0 +1,17 @@ +#! stap -p2 + +# check that CONFIGs can match other CONFIGS. +probe + %( CONFIG_HZ == CONFIG_NR_CPUS + || CONFIG_NR_CPUS > CONFIG_HZ + || CONFIG_NR_CPUS < CONFIG_HZ %? + %( CONFIG_NFSD == CONFIG_NFS_COMMON + || CONFIG_NFS_COMMON != CONFIG_NFSD + %? begin + %: noprobe + %) + %: nonoprobe + %) +{ + exit() +} |