diff options
| author | John Ogness <[email protected]> | 2024-08-20 08:35:45 +0206 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2024-08-21 14:56:24 +0200 |
| commit | 06683a6649895ccf279c35ca2fb77fd7afb7a6c5 (patch) | |
| tree | 355dc59dd507da00cf47fbc5fa0777d99ae95e99 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | fc400d5f63570afdadd718ae962cf5aa0feeace6 (diff) | |
printk: nbcon: Add helper to assign priority based on CPU state
Add a helper function to use the current state of the CPU to
determine which priority to assign to the printing context.
The EMERGENCY priority handling is added in a follow-up commit.
It will use a per-CPU variable.
Note: nbcon_device_try_acquire(), which is used by console
drivers to acquire the nbcon console for non-printing
activities, is hard-coded to always use NORMAL priority.
Signed-off-by: John Ogness <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions