diff options
author | Steven Rostedt <[email protected]> | 2024-08-15 11:50:32 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-08-26 13:34:22 -0400 |
commit | d0f2d6e9512ecf4306c4432761f04bd35cf9e3a6 (patch) | |
tree | 384ff8e3b59b174a4d3c6add233074608eb2ff93 /scripts/bpf_doc.py | |
parent | bca704f62db2e2bb644fa845e98b08cf1e22f814 (diff) |
ring-buffer: Add magic and struct size to boot up meta data
Add a magic number as well as save the struct size of the ring_buffer_meta
structure in the meta data to also use as validation. Updating the magic
number could be used to force a invalidation between kernel versions, and
saving the structure size is also a good method to make sure the content
is what is expected.
Cc: Masami Hiramatsu <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Vincent Donnefort <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions