static tracepoints - sdt.h vs. lttng
Hey all,
perf now has support for sdt.h static userland trace points, which is really great. But I wonder, where can I find documentation on using it for custom data types, like UTF16 strings, or custom structs? The Kernel seems to have some custom API, can I leverage that also in userland?
The LTTNG-UST trace point API is much clearer in that regard:
http://lttng.org/man/3/lttng-ust/v2.7/
Which clearly supports arbitrary data types. But that is not supported by perf, right?
How do other projects handle this?
Thanks
Signature · 4 lines
Milian Wolff | [email protected] | Software Engineer KDAB (Deutschland) GmbH&Co KG, a KDAB Group company Tel: +49-30-521325470 KDAB - The Qt Experts