diff options
author | Wei Li <[email protected]> | 2020-05-21 15:21:25 +0800 |
---|---|---|
committer | Daniel Thompson <[email protected]> | 2020-06-02 15:15:46 +0100 |
commit | c893de12e1ef17b581eb2cf8fc9018ec0cbd07df (patch) | |
tree | 964ba06e688298b82e0b23bfc73c7469fb636f8a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1b310030bb855b9b13d1c0a9feffdb54883b06ab (diff) |
kdb: Remove the misfeature 'KDBFLAGS'
Currently, 'KDBFLAGS' is an internal variable of kdb, it is combined
by 'KDBDEBUG' and state flags. It will be shown only when 'KDBDEBUG'
is set, and the user can define an environment variable named 'KDBFLAGS'
too. These are puzzling indeed.
After communication with Daniel, it seems that 'KDBFLAGS' is a misfeature.
So let's replace 'KDBFLAGS' with 'KDBDEBUG' to just show the value we
wrote into. After this modification, we can use `md4c1 kdb_flags` instead,
to observe the state flags.
Suggested-by: Daniel Thompson <[email protected]>
Signed-off-by: Wei Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[[email protected]: Make kdb_flags unsigned to avoid arithmetic
right shift]
Signed-off-by: Daniel Thompson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions