aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorWen Congyang <[email protected]>2012-09-20 14:04:47 +0800
committerSteven Rostedt <[email protected]>2012-09-20 15:51:16 -0400
commit85f2a2ef1d0ab99523e0b947a2b723f5650ed6aa (patch)
treebe9256de42d2f2411355858fccb3c58aac8c5381 /tools/perf/util/trace-event-scripting.c
parent20a36e39d59757252edbbdcf9574ae2998733ce9 (diff)
tracing: Don't call page_to_pfn() if page is NULL
When allocating memory fails, page is NULL. page_to_pfn() will cause the kernel panicked if we don't use sparsemem vmemmap. Link: http://lkml.kernel.org/r/[email protected] Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Andrew Morton <[email protected]> Cc: stable <[email protected]> Acked-by: Mel Gorman <[email protected]> Reviewed-by: Minchan Kim <[email protected]> Signed-off-by: Wen Congyang <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions