Matt Mullins
24650d3d81
bpf: add writable context for raw tracepoints
...
This is an opt-in interface that allows a tracepoint to provide a safe
buffer that can be written from a BPF_PROG_TYPE_RAW_TRACEPOINT program.
The size of the buffer must be a compile-time constant, and is checked
before allowing a BPF program to attach to a tracepoint that uses this
feature.
The pointer to this buffer will be the first argument of tracepoints
that opt in; the pointer is valid and can be bpf_probe_read() by both
BPF_PROG_TYPE_RAW_TRACEPOINT and BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE
programs that attach to such a tracepoint, but the buffer to which it
points may only be written by the latter.
Signed-off-by: Matt Mullins <mmullins@fb.com >
Acked-by: Yonghong Song <yhs@fb.com >
Signed-off-by: Alexei Starovoitov <ast@kernel.org >
2025-09-24 21:37:43 +02:00
..
2023-01-18 11:29:59 +01:00
2024-03-17 00:06:11 +01:00
2022-08-25 11:15:23 +02:00
2021-06-16 11:55:01 +02:00
2022-03-16 13:20:26 +01:00
2022-06-14 16:59:39 +02:00
2024-08-19 07:25:59 +00:00
2022-09-05 10:26:29 +02:00
2023-03-06 19:14:22 +01:00
2024-02-13 00:46:27 +01:00
2021-11-16 15:07:32 +05:30
2023-08-25 11:32:22 +00:00
2024-04-19 23:41:35 +03:00
2024-08-06 00:36:59 +03:00
2023-07-11 15:03:00 +03:00
2021-09-29 16:09:10 +00:00
2022-10-17 04:03:35 -07:00
2022-10-26 13:19:32 +02:00
2021-08-09 16:20:50 +02:00
2021-08-08 08:54:29 +02:00
2023-03-06 19:14:22 +01:00
2024-09-04 13:12:59 +02:00
2023-06-14 09:45:37 +00:00
2022-12-17 00:25:35 +02:00
2022-04-19 16:15:29 +02:00
2025-01-10 13:09:21 +02:00
2025-09-24 21:37:43 +02:00
2025-09-24 21:37:19 +02:00
2025-09-24 21:37:18 +02:00
2025-09-24 21:37:43 +02:00
2025-09-24 21:37:19 +02:00
2022-09-15 12:17:02 +02:00
2024-01-06 18:53:38 +02:00
2021-09-26 13:39:48 +02:00
2025-03-31 10:08:57 -04:00
2022-07-23 15:34:27 +02:00
2022-12-15 08:15:36 +01:00
2024-12-16 01:21:42 +02:00
2024-07-18 11:39:31 +02:00
2022-11-24 03:17:53 +02:00
2025-03-31 10:08:57 -04:00
2022-11-24 03:17:53 +02:00
2021-11-30 13:20:26 +01:00
2023-06-30 00:05:33 +05:30
2023-09-19 18:11:03 +03:00
2023-06-30 00:05:33 +05:30
2023-12-19 09:45:25 +00:00
2024-10-01 11:50:22 +03:00
2023-04-05 11:15:42 +02:00
2024-03-15 12:38:56 +00:00
2025-04-14 14:16:37 +03:00
2023-05-17 11:13:06 +02:00
2024-04-19 23:41:35 +03:00
2022-05-12 16:24:42 +05:30
2022-11-21 06:50:34 +02:00
2022-05-25 09:10:41 +02:00
2024-02-23 08:12:53 +01:00
2022-10-26 13:19:31 +02:00
2022-11-10 17:46:55 +01:00
2021-10-27 09:53:13 +02:00
2023-03-07 19:31:08 +02:00
2024-05-17 11:42:37 +02:00
2023-09-23 10:47:59 +02:00
2022-11-24 03:17:53 +02:00
2022-10-11 11:09:17 -07:00
2024-09-04 13:13:08 +02:00
2022-11-24 03:17:53 +02:00
2025-09-24 21:37:18 +02:00
2025-04-14 14:16:37 +03:00
2025-04-14 14:16:37 +03:00
2024-07-19 13:17:59 +00:00
2025-04-14 14:16:37 +03:00
2023-04-21 13:30:50 +00:00
2023-12-11 15:30:00 +05:30
2024-05-07 22:02:57 +03:00
2023-12-08 08:43:23 +01:00
2024-03-26 18:22:37 -04:00
2024-05-07 22:02:57 +03:00
2021-07-11 12:49:27 +02:00
2023-02-22 12:47:20 +01:00
2022-06-25 11:49:07 +02:00
2024-08-19 05:31:56 +02:00
2023-09-23 10:48:11 +02:00
2023-10-10 21:44:57 +02:00
2023-03-11 16:31:51 +01:00
2023-10-25 11:16:17 +02:00
2021-08-27 18:03:43 +02:00
2022-11-24 03:19:32 +02:00
2022-11-24 03:35:09 +02:00
2024-06-09 02:32:30 +03:00
2021-12-08 08:50:11 +01:00
2023-06-28 10:15:27 +02:00
2021-08-27 15:24:34 +02:00
2024-11-08 16:19:06 +01:00
2024-12-05 11:21:28 +00:00
2024-08-19 07:25:59 +00:00
2023-03-11 16:31:35 +01:00
2023-02-06 08:16:47 +01:00
2022-07-02 16:27:39 +02:00
2022-11-24 03:17:53 +02:00
2022-08-25 11:15:23 +02:00
2023-03-11 16:31:51 +01:00
2022-07-06 18:47:22 -07:00
2022-11-23 07:53:44 +01:00
2023-03-05 15:12:41 +01:00
2023-10-10 21:45:00 +02:00
2022-11-24 03:17:53 +02:00
2024-04-15 10:17:13 +00:00
2022-06-21 20:47:53 +02:00
2023-01-18 11:30:49 +01:00
2023-10-25 11:16:31 +02:00
2021-10-09 14:11:03 +02:00
2022-11-24 03:17:53 +02:00
2023-08-18 12:23:55 +05:45
2022-12-08 11:18:34 +01:00
2022-11-24 03:17:53 +02:00
2024-10-31 21:43:13 +00:00
2022-11-24 03:17:53 +02:00
2024-06-16 13:23:35 +02:00
2021-08-27 16:46:06 +02:00
2022-11-24 03:19:32 +02:00
2023-10-16 15:01:41 +03:00
2021-06-30 19:17:14 +02:00
2022-05-18 09:42:47 +02:00
2024-05-07 22:02:57 +03:00
2023-06-21 15:39:57 +02:00
2023-06-21 15:39:57 +02:00
2024-12-05 10:59:33 +01:00
2022-04-15 14:15:03 +02:00
2023-09-23 10:47:58 +02:00
2023-09-19 18:11:03 +03:00
2022-06-14 16:59:38 +02:00
2023-02-25 11:51:51 +01:00
2024-07-05 09:00:32 +02:00
2021-12-08 08:50:11 +01:00
2022-11-02 05:02:22 +01:00
2024-09-04 13:13:00 +02:00
2021-08-09 16:19:52 +02:00
2025-04-14 14:16:37 +03:00
2024-11-08 16:19:19 +01:00
2023-09-23 10:48:11 +02:00
2024-07-06 10:19:40 +00:00
2023-12-19 09:45:25 +00:00
2023-02-22 12:28:07 +00:00
2023-11-25 18:54:24 +00:00
2023-08-11 11:45:40 +02:00
2024-03-26 18:22:34 -04:00
2024-02-13 00:46:27 +01:00
2022-06-25 11:49:11 +02:00
2023-11-20 10:29:18 +01:00
2023-05-18 15:51:07 +00:00
2023-01-18 12:02:44 +00:00
2025-09-24 21:37:18 +02:00
2022-11-24 03:17:53 +02:00
2024-02-06 16:07:32 +02:00
2023-03-06 19:14:22 +01:00
2021-06-30 08:48:19 -04:00
2022-06-14 16:59:13 +02:00
2023-12-14 13:13:51 +02:00
2024-03-26 18:22:40 -04:00
2023-10-25 11:43:43 +00:00
2023-10-25 11:16:20 +02:00
2023-08-30 16:31:56 +02:00
2023-02-25 15:35:59 +00:00
2022-07-02 16:27:31 +02:00
2023-06-28 10:15:28 +02:00
2024-09-12 11:02:55 +02:00
2023-06-08 11:22:40 +03:00
2023-12-14 13:13:51 +02:00
2021-12-14 10:18:04 +01:00
2022-07-12 16:29:03 +02:00
2025-07-01 00:56:04 +03:00
2024-04-15 10:17:13 +00:00
2023-08-11 11:45:22 +02:00
2024-05-02 16:17:14 +02:00
2023-03-22 13:27:11 +01:00
2022-06-25 11:49:11 +02:00
2025-09-24 21:37:43 +02:00
2022-05-11 07:51:40 +05:30
2021-06-30 08:48:18 -04:00
2023-03-05 15:29:18 +01:00
2023-05-30 12:42:13 +01:00
2024-06-01 07:55:42 +00:00
2024-07-06 10:19:40 +00:00
2023-02-08 17:19:24 +02:00
2023-09-19 18:11:03 +03:00
2022-01-05 12:34:57 +01:00
2023-03-07 19:31:08 +02:00
2023-05-18 15:51:07 +00:00
2024-05-07 22:02:57 +03:00
2023-01-18 11:30:05 +01:00
2022-06-25 11:49:10 +02:00
2022-11-24 03:17:53 +02:00
2024-10-01 11:50:22 +03:00
2025-09-24 21:37:43 +02:00
2023-03-22 13:27:11 +01:00
2022-07-29 17:10:37 +02:00
2023-07-11 15:03:00 +03:00
2022-12-28 03:53:16 +00:00
2024-02-23 08:12:39 +01:00
2023-07-11 15:03:00 +03:00
2022-03-16 13:20:27 +01:00
2023-08-30 16:38:16 +00:00
2022-03-16 13:20:27 +01:00
2023-05-17 11:13:15 +02:00
2022-02-28 18:50:08 +05:30
2023-08-25 11:24:56 +00:00