aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-01-18 21:50:26 +0100
committerLinus Torvalds <[email protected]>2016-01-20 09:21:41 -0800
commit629d9d1cafbd49cb374561a5a7d7724c4d6b2567 (patch)
treee0d107e5041480d2097e8b02cad4f1ba563ddf58 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent2b4015e9fb335aa6982a68dbe6e4158d6c1b10ee (diff)
mm: avoid uninitialized variable in tracepoint
A newly added tracepoint in the hugepage code uses a variable in the error handling that is not initialized at that point: include/trace/events/huge_memory.h:81:230: error: 'isolated' may be used uninitialized in this function [-Werror=maybe-uninitialized] The result is relatively harmless, as the trace data will in rare cases contain incorrect data. This works around the problem by adding an explicit initialization. Signed-off-by: Arnd Bergmann <[email protected]> Fixes: 7d2eba0557c1 ("mm: add tracepoint for scanning pages") Reviewed-by: Ebru Akagunduz <[email protected]> Acked-by: David Rientjes <[email protected]> Cc: Kirill A. Shutemov <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions