diff options
author | John Ogness <[email protected]> | 2022-11-16 17:27:17 +0106 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2022-12-02 11:24:59 +0100 |
commit | b80ea0e81b3954e4c519e0c257b095e77cf94d86 (patch) | |
tree | aa41fb81e727a4a691fb2ad7cf2792f46c188d8b /tools/perf/scripts/python/intel-pt-events.py | |
parent | 1145703612462b9bab2a325c305408ebfb6de304 (diff) |
printk: move @seq initialization to helper
The code to initialize @seq for a new console needs to consider
more factors when choosing an initial value. Move the code into
a helper function console_init_seq() "as is" so this code can
be expanded without causing register_console() to become too
long. A later commit will implement the additional code.
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/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions