summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorWingMan Kwok <w-kwok2@ti.com>2015-07-23 15:57:21 -0400
committerDavid S. Miller <davem@davemloft.net>2015-07-27 00:18:39 -0700
commit208c6b9a49df8b69ab698d9f53d40d25f143dbde (patch)
tree370a67426a9b29dcedef2d2b1a7ecd71dd30228f /tools/perf/scripts/python/Perf-Trace-Util/lib
parenta94bcd09c554e8df3a32ef3f25ecfd74e73b9651 (diff)
net: netcp: Fixes error in oversized memory allocation for statistics storage
The CPSW driver keeps internally some, but not all, of the statistics available in the hw statistics modules. Furthermore, some of the locations in the hw statistics modules are reserved and contain no useful information. Prior to this patch, the driver allocates memory of the size of the the whole hw statistics modules, instead of the size of statistics-entries-interested-in (i.e. et_stats), for internal storage. This patch fixes that. Signed-off-by: WingMan Kwok <w-kwok2@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions