All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf docs: description of header HEADER_BPF_PROG_INFO and HEADER_BPF_BTF
@ 2019-05-21  6:44 Song Liu
  2019-06-17 18:55 ` [tip:perf/core] perf data: Add " tip-bot for Song Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Song Liu @ 2019-05-21  6:44 UTC (permalink / raw)
  To: linux-kernel; +Cc: peterz, acme, jolsa, Song Liu

This patch addes description of HEADER_BPF_PROG_INFO and HEADER_BPF_BTF to
perf.data-file-format.txt.

Signed-off-by: Song Liu <songliubraving@fb.com>
---
 .../perf/Documentation/perf.data-file-format.txt | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/tools/perf/Documentation/perf.data-file-format.txt b/tools/perf/Documentation/perf.data-file-format.txt
index 6967e9b02be5..ab48db21ff16 100644
--- a/tools/perf/Documentation/perf.data-file-format.txt
+++ b/tools/perf/Documentation/perf.data-file-format.txt
@@ -272,6 +272,22 @@ struct {
 
 Two uint64_t for the time of first sample and the time of last sample.
 
+        HEADER_BPF_PROG_INFO = 25,
+
+struct bpf_prog_info_linear, which contains detailed information about
+a BPF program, including type, id, tag, jited/xlated instructions, etc.
+
+        HEADER_BPF_BTF = 26,
+
+Contains BPF Type Format (BTF). For more information about BTF, please
+refer to Documentation/bpf/btf.rst.
+
+struct {
+	u32	id;
+	u32	data_size;
+	char	data[];
+};
+
         HEADER_COMPRESSED = 27,
 
 struct {
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-17 18:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-21  6:44 [PATCH] perf docs: description of header HEADER_BPF_PROG_INFO and HEADER_BPF_BTF Song Liu
2019-06-17 18:55 ` [tip:perf/core] perf data: Add " tip-bot for Song Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.