[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190521064406.2498925-1-songliubraving@fb.com>
Date: Mon, 20 May 2019 23:44:06 -0700
From: Song Liu <songliubraving@...com>
To: <linux-kernel@...r.kernel.org>
CC: <peterz@...radead.org>, <acme@...hat.com>, <jolsa@...nel.org>,
Song Liu <songliubraving@...com>
Subject: [PATCH] perf docs: description of header HEADER_BPF_PROG_INFO and HEADER_BPF_BTF
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@...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
Powered by blists - more mailing lists