Summary: | event-counting command line option | ||
---|---|---|---|
Product: | systemtap | Reporter: | Frank Ch. Eigler <fche> |
Component: | translator | Assignee: | Lukas Berk <lberk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | lberk |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Frank Ch. Eigler
2011-02-23 12:58:01 UTC
Note that this may be achievable with no translator code changes, but rather just a systemtap script that's parametrized with the probe points, ie. % stap eventcount.stp perf.sw_clock 'syscall.*' commit: eb521ae66706271bd0687db92fcb346cff3fee90 An eventcount.stp script has now been added which allows for event counting in the format of 'stap eventcount.stp syscall.* process.end ...' with a printout of tid's event and count. NEWS - news blurb testsuite/systemtap.examples/general/eventcount.meta - meta file testsuite/systemtap.examples/general/eventcount.stp - script itself |