diff options
| author | Mykyta Yatsenko <[email protected]> | 2025-04-08 10:45:44 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2025-04-09 23:16:12 +0000 |
| commit | 37b1b3ed20c39f8df78d00d1912e67efd3de4f93 (patch) | |
| tree | 04e17e013d6e711d7cbb6b0ea87c81cbe4a0b353 /tools/lib/bpf/libbpf.h | |
| parent | selftests/bpf: Convert comma to semicolon (diff) | |
| download | kernel-37b1b3ed20c39f8df78d00d1912e67efd3de4f93.tar.gz kernel-37b1b3ed20c39f8df78d00d1912e67efd3de4f93.zip | |
selftests/bpf: Support struct/union presets in veristat
Extend commit e3c9abd0d14b ("selftests/bpf: Implement setting global
variables in veristat") to support applying presets to members of
the global structs or unions in veristat.
For example:
```
./veristat set_global_vars.bpf.o -G "union1.struct3.var_u8_h = 0xBB"
```
Signed-off-by: Mykyta Yatsenko <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/libbpf.h')
0 files changed, 0 insertions, 0 deletions
