examples: add gencache.stp
authorRalph Boehme <slow@samba.org>
Fri, 30 Jun 2017 10:59:37 +0000 (12:59 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 19 Jul 2017 10:00:15 +0000 (12:00 +0200)
commit995aec51da659e46cbcc2bc07f4be19a9b0a38d1
treedf2528c70fb02700dbd5f8cf9dc47d39b78fa293
parentf7daa453045c787ddab6e04c1fdaa386c231371f
examples: add gencache.stp

Add a Systemtap script to profile gencache.

Usage:

- profile a single smbd process:
  # stap -x 22225 gencache.stp smbd

- profile all winbindd proceses:
  # stap gencache.stp winbindd

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
examples/systemtap/gencache.stp [new file with mode: 0755]