diff options
author | Steven Rostedt (Google) <[email protected]> | 2023-12-19 13:54:22 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2023-12-21 10:55:04 -0500 |
commit | 4e958db34fd5324421ef9562c31c15e2d152dc63 (patch) | |
tree | e6159d321fad40fdc10d65daceb86cf9a0f5be34 /scripts/gdb/linux/utils.py | |
parent | b81e03a24966dca0b119eff0549a4e44befff419 (diff) |
ring-buffer: Make sure the spare sub buffer used for reads has same size
Now that the ring buffer specifies the size of its sub buffers, they all
need to be the same size. When doing a read, a swap is done with a spare
page. Make sure they are the same size before doing the swap, otherwise
the read will fail.
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Tzvetomir Stoyanov <[email protected]>
Cc: Vincent Donnefort <[email protected]>
Cc: Kent Overstreet <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions