diff options
author | Robert Richter <[email protected]> | 2020-02-17 12:30:23 +0100 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-02-17 13:37:00 +0100 |
commit | 4aa92c86463273b673e4170c60cb78e2625781eb (patch) | |
tree | a86e808795886e92efedbf03a98cb32244a0d447 /tools/perf/util/trace-event-scripting.c | |
parent | 1853ee72997645e1aea85e20b94f7dcc55636887 (diff) |
EDAC/mc: Remove per layer counters
Looking at how mci->{ue,ce}_per_layer[EDAC_MAX_LAYERS] is used, it
turns out that only the leaves in the memory hierarchy are consumed
(in sysfs), but not the intermediate layers, e.g.:
count = dimm->mci->ce_per_layer[dimm->mci->n_layers-1][dimm->idx];
These unused counters only add complexity, remove them. The error
counter values are directly stored in struct dimm_info now.
Signed-off-by: Robert Richter <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Aristeu Rozanski <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions