[lttng-dev] documentation about CTF event payload

Matthew Khouzam matthew.khouzam at ericsson.com
Wed Nov 20 10:43:31 EST 2019

Hi, I would like to add it is an insane amount of work.

I have documented some tracepoints. Maybe this can help. https://git.eclipse.org/c/tracecompass/org.eclipse.tracecompass.git/tree/analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/analysis/os/linux/core/trace/IKernelAnalysisEventLayout.java<https://git.eclipse.org/c/tracecompass/org.eclipse.tracecompass.git/tree/analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/analysis/os/linux/core/trace/IKernelAnalysisEventLayout.java?id=01f2a5074ceebbc1ceaf2643c1aff5168a61ed4b>

For the syscalls, take a look at this, it may help?

Also, if you feel like enhancing the list, we'd be thrilled. 😉

As the author of these doc patches, I can confirm, it's a lot of not rewarding work.

From: lttng-dev <lttng-dev-bounces at lists.lttng.org> on behalf of Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Sent: Wednesday, November 20, 2019 9:32 AM
To: 杨海 <hai.yang at magic-shield.com>
Cc: lttng-dev <lttng-dev at lists.lttng.org>
Subject: Re: [lttng-dev] documentation about CTF event payload

For the system call payload documentation, you might want to refer to the Linux system call
man pages.

For internal kernel tracepoints like sched_switch, there is no documentation of the meaning of
each field at the moment. This state is the same as the upstream Linux kernel trace event. You'll
have to figure it out on your own. Documenting each field of the ~500-1000 Linux kernel tracepoints
is no small task.



----- On Nov 19, 2019, at 9:25 PM, 杨海 <hai.yang at magic-shield.com> wrote:
To be more specific, I suppose we can refer to instrumentation\syscalls\3.10.0-rc7\x86-64-syscalls-3.10.0-rc7 for the payload format of syscall event. Is it exactly in the CTF syscall event?


------------------ Original ------------------
From:  "杨海"<hai.yang at magic-shield.com>;
Date:  Mon, Nov 18, 2019 09:54 AM
To:  "lttng-dev"<lttng-dev at lists.lttng.org>;
Subject:  documentation about CTF event payload


As LTTng generated CTF and babeltrace parse it, we have the output as attached. We saw events such as sched_switch, but the payload cannot be understood easily. Where we can find the document to explain the LTTng payload and parameters?


lttng-dev mailing list
lttng-dev at lists.lttng.org

Mathieu Desnoyers
EfficiOS Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20191120/8e240bd3/attachment-0001.html>

More information about the lttng-dev mailing list