diff options
author | Arun Easi <[email protected]> | 2022-08-26 03:25:57 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-09-01 00:30:55 -0400 |
commit | 8bfc149ba24cb985d593c0b2ddcf03ce42febe0c (patch) | |
tree | 16e2c659e3b4a80ecf9262d30c380658958f15cc /tools/perf/scripts/python/stackcollapse.py | |
parent | d9ba85efc3fc743aa3c958efa996f397719cdc2a (diff) |
scsi: qla2xxx: Enhance driver tracing with separate tunable and more
Older tracing of driver messages was to:
- log only debug messages to kernel main trace buffer; and
- log only if extended logging bits corresponding to this message is
off
This has been modified and extended as follows:
- Tracing is now controlled via ql2xextended_error_logging_ktrace
module parameter. Bit usages same as ql2xextended_error_logging.
- Tracing uses "qla2xxx" trace instance, unless instance creation have
issues.
- Tracing is enabled (compile time tunable).
- All driver messages, include debug and log messages are now traced in
kernel trace buffer.
Trace messages can be viewed by looking at the qla2xxx instance at:
/sys/kernel/tracing/instances/qla2xxx/trace
Trace tunable that takes the same bit mask as ql2xextended_error_logging
is:
ql2xextended_error_logging_ktrace (default=1)
Link: https://lore.kernel.org/r/[email protected]
Suggested-by: Daniel Wagner <[email protected]>
Suggested-by: Steven Rostedt <[email protected]>
Tested-by: Himanshu Madhani <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Reviewed-by: Daniel Wagner <[email protected]>
Signed-off-by: Arun Easi <[email protected]>
Signed-off-by: Nilesh Javali <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions