linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Milian Wolff <milian.wolff@kdab.com>
To: linux-perf-users@vger.kernel.org
Subject: static tracepoints - sdt.h vs. lttng
Date: Wed, 07 Sep 2016 01:39:44 +0200	[thread overview]
Message-ID: <2240438.C4SNlR6gro@agathebauer> (raw)

[-- Attachment #1: Type: text/plain, Size: 688 bytes --]

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
-- 
Milian Wolff | milian.wolff@kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5903 bytes --]

                 reply	other threads:[~2016-09-06 23:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2240438.C4SNlR6gro@agathebauer \
    --to=milian.wolff@kdab.com \
    --cc=linux-perf-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).