diff options
author | Breno Leitao <leitao@debian.org> | 2025-02-06 14:05:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2025-02-10 18:04:18 +0300 |
commit | 2bae25b16aea249f0e96757b6cd28b03d2b4397f (patch) | |
tree | 0569c962c509ef50a8f21fa1cbc481c7817085f3 /tools/perf/scripts/python | |
parent | 364f67837e86cfd59ef8727dbf6db15594281d4d (diff) | |
download | linux-2bae25b16aea249f0e96757b6cd28b03d2b4397f.tar.xz |
netconsole: Include sysdata in extradata entry count
Modify count_extradata_entries() to include sysdata fields when
calculating the total number of extradata entries. This change ensures
that the sysdata feature, specifically the CPU number field, is
correctly counted against the MAX_EXTRADATA_ITEMS limit.
The modification adds a simple check for the CPU_NR flag in the
sysdata_fields, incrementing the entry count accordingly.
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions