diff options
author | John Ogness <[email protected]> | 2020-09-14 14:39:52 +0206 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2020-09-15 15:52:49 +0200 |
commit | 10dcb06d40411a73e1ae111717e9a987bb760313 (patch) | |
tree | 21520d9beb051c2215ce29d03a30e180b6e78cd7 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | cc5c7041c6e1fe8c02fe9e16f28a5e52f7a6957c (diff) |
printk: ringbuffer: change representation of states
Rather than deriving the state by evaluating bits within the flags
area of the state variable, assign the states explicit values and
set those values in the flags area. Introduce macros to make it
simple to read and write state values for the state variable.
Although the functionality is preserved, the binary representation
for the states is changed.
Signed-off-by: John Ogness <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions