diff options
author | John Ogness <john.ogness@linutronix.de> | 2020-09-14 15:33:50 +0300 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2020-09-15 16:44:49 +0300 |
commit | e3bc0401c1de2feb15601685b85b4dea45130386 (patch) | |
tree | 4382d0415d7f72a7fb9a9cde0ebe4f80573e871e /tools/perf/scripts/python/stackcollapse.py | |
parent | 2a7f87ed05b9035ef818d0f46fe6aef5640224e3 (diff) | |
download | linux-e3bc0401c1de2feb15601685b85b4dea45130386.tar.xz |
printk: ringbuffer: add BLK_DATALESS() macro
Rather than continually needing to explicitly check @begin and @next
to identify a dataless block, introduce and use a BLK_DATALESS()
macro.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20200914123354.832-3-john.ogness@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions