[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?
https://git.eclipse.org/c/tracecompass/org.eclipse.tracecompass.git/tree/analysis/org.eclipse.tracecompass.analysis.os.linux.core/res/syscalls.tsv

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.

Cheers
________________________________
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.

Thanks,

Mathieu

----- 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?

Regards
Hai

------------------ 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

Hi

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?

Regards
Hai

_______________________________________________
lttng-dev mailing list
lttng-dev at lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev<https://protect2.fireeye.com/v1/url?k=b57ee672-e9f43364-b57ea6e9-862f14a9365e-4edf64ec28cf8a82&q=1&e=f6fc5282-6aa8-47e6-b1ba-c0f4d8c08799&u=https%3A%2F%2Flists.lttng.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Flttng-dev>

--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com<https://protect2.fireeye.com/v1/url?k=0d1e3efa-5194ebec-0d1e7e61-862f14a9365e-4d330cf58530a29c&q=1&e=f6fc5282-6aa8-47e6-b1ba-c0f4d8c08799&u=http%3A%2F%2Fwww.efficios.com%2F>
-------------- 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