]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Internal performance measurement support code.
authorKris Van Hees <kris.van.hees@oracle.com>
Fri, 19 Oct 2012 08:37:53 +0000 (04:37 -0400)
committerKris Van Hees <kris.van.hees@oracle.com>
Fri, 19 Oct 2012 08:37:53 +0000 (04:37 -0400)
commitcc162ed413d79df06b67e1e69c43de72035324ec
tree119d4b2c52c0050767a29818abf6166ae07c86d7
parenta278a1df8db9ae56d721d1bb02d747f9a0f91a47
Internal performance measurement support code.

The dt_perf provider implements a few probes that are used in performance
(or more accurately put, overhead) measurements.  It uses an ioctl()
interface to trigger N-count interations of invoking probes through
various mechanisms, and a probe to post the results back to userspace.
This code also adds an SDT probe in the DTrace kernel support code, just
to measure overhead for triggering trap based SDT probes.

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
dtrace/dt_perf.h [new file with mode: 0644]
dtrace/dt_perf_dev.c [new file with mode: 0644]
dtrace/dt_perf_mod.c [new file with mode: 0644]