whitelist test of current tapset and all kernel.function("*") functions

Gui,Jian guij@cn.ibm.com
Wed Nov 15 19:50:00 GMT 2006


Hi,

I updated the whitelist case
(http://sourceware.org/ml/systemtap/2006-q4/msg00143.html)
and tested the probe points in current tapset and kernel functiosns.

Here are the results on my ppc64 box:

For current tapset:
    920 probes.all          -- initial probe points to be tested
      0 probes.failed       -- causing crash and unrecorded in probe.out
    455 probes.passed       -- whitelist,for those recorded at least once
    465 probes.untriggered  -- probed without crash but unrecorded

For all kernel.function("*") probe points:
   13119 probes.all
     100 probes.failed (more iterations shows "_read_lock" causes this crash)
    2415 probes.passed
   10604 probes.untriggered

Usages:
  0) Please jump to 6) directly if you use all default settings
  1) Define your list of probe points in a file named "probes.all";
     otherwise, it will be automatically extracted from
       stap -p2 -e 'probe kernel.function("*"){}
  2) Define your own workloads by changing the "benchs" list variable;
     otherwise, several LTP testcases will be used
  3) Define how may times you want the test to be iterated by changing
     MAX_RUNNING_LEVEL variable; otherwise, 3 is the default
  4) Define the group size for different iteration level by changing
     proper_current_size() function; otherwise, they will be set in
     a decreasing order based on the length of probes.all
  5) Remove /stp_genwhitelist_running if you want to start a test from
     the beginning after a system crash
  6) Start a test:
       runtest whitelist.exp

The coverage of probe points is still a problem. For tapset, there
are a lot of syscalls and NFS/RPC server probe points untriggered.
The total coverage is 50% for tapset and 18.4% for all kernel
functions(probe points in bug 3441 are removed).

Any idea? Thanks.

-Gui,Jian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gen_whitelist.tgz
Type: application/octet-stream
Size: 12740 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20061115/18f74ef8/attachment.obj>


More information about the Systemtap mailing list