diff options
author | 2024-09-30 21:52:56 +0200 | |
---|---|---|
committer | 2024-10-11 12:43:49 +0200 | |
commit | 4bc988b47019536b3b1f7d9c5b83893c712d94d6 (patch) | |
tree | f3418cfc5f247eab9c36ed5d6f310c2293906447 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | accel/ivpu: Refactor functions in ivpu_fw_log.c (diff) | |
download | wireguard-linux-4bc988b47019536b3b1f7d9c5b83893c712d94d6.tar.xz wireguard-linux-4bc988b47019536b3b1f7d9c5b83893c712d94d6.zip |
accel/ivpu: Fix fw log printing
- Fix empty log detection that couldn't work without read_wrap_count
- Start printing wrapped log from correct position (log_start)
- Properly handle logs that are wrapped multiple times in reference
to reader position
- Don't add a newline when log buffer is wrapped
- Always add a newline after printing a log buffer in case log does
not end with one
Reviewed-by: Tomasz Rusinowicz <tomasz.rusinowicz@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240930195322.461209-6-jacek.lawrynowicz@linux.intel.com
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions