TRACE macro for userspace probes

Frank Ch. Eigler fche@redhat.com
Fri Apr 19 20:18:00 GMT 2013


Eric Wong <normalperson@yhbt.net> writes:

> [...]
> http://sourceware.org/systemtap/wiki/AddingUserSpaceProbingToApps
> ----------------------------------------------------
>
> Should there also be a TRACE_ENABLED macro in case we're using
> _ENABLED() checks in our code?

Yup, I think so, thanks!
You are very welcome to update that wiki page with this extra bit.

(Please note that the page is only "documentation" in the sense that
we don't provide just such a header file as a part of stap itself.)

- FChE



More information about the Systemtap mailing list