mm/vmscan.c: change trace_mm_vmscan_writepage() proto type
authoryalin wang <yalin.wang2010@gmail.com>
Thu, 14 Jan 2016 23:18:30 +0000 (15:18 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commit3aa2385111168187f24a6db04697c6fab0fab9b4
treeb02fae15f1e0147c2bc17336810a41d96b090403
parent0b57d6ba0bd11a41a791cf6c5bbf3b55630dc70f
mm/vmscan.c: change trace_mm_vmscan_writepage() proto type

Move trace_reclaim_flags() into trace function, so that we don't need
caculate these flags if the trace is disabled.

Signed-off-by: yalin wang <yalin.wang2010@gmail.com>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/trace/events/vmscan.h
mm/vmscan.c