How to access g_probe_timing

Frank Ch. Eigler fche@redhat.com
Wed Jan 25 18:19:00 GMT 2017


Hi -

> If include files in the runtime/linux would contain
> #pragma once
> I could include the necessary files and gain access to the collected data

There are hundreds of runtime/ files altogether, and we really don't
want to encourage this kind of thing.  How about extending the "stap
--monitor" functionality if what's there is not enough?  (With stap
3.0, this "#pragma once" hack wouldn't be needed anyway, if you use
the kind of code "stap -p3 --monitor" creates in
function___private___monitor_data_function_probes.

- FChE



More information about the Systemtap mailing list