diff options
author | Ales Nezbeda <anezbeda@redhat.com> | 2024-10-17 15:19:33 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-10-23 09:51:06 +0200 |
commit | 1a629afd590b9d7888105250c31133d9dacceaee (patch) | |
tree | eaefff153e1b819b6376c9b72e369006c3205d0d /tools/perf/scripts/python/stackcollapse.py | |
parent | 73840ca5ef361f143b89edd5368a1aa8c2979241 (diff) |
netdevsim: macsec: pad u64 to correct length in logs
Commit 02b34d03a24b ("netdevsim: add dummy macsec offload") pads u64
number to 8 characters using "%08llx" format specifier.
Changing format specifier to "%016llx" ensures that no matter the value
the representation of number in log is always the same length.
Before this patch, entry in log for value '1' would say:
removing SecY with SCI 00000001 at index 2
After this patch is applied, entry in log will say:
removing SecY with SCI 0000000000000001 at index 2
Signed-off-by: Ales Nezbeda <anezbeda@redhat.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Link: https://patch.msgid.link/20241017131933.136971-1-anezbeda@redhat.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions