Commit 3b775998 authored by Yafang Shao's avatar Yafang Shao Committed by Linus Torvalds

include/trace/events/vmscan.h: drop zone id from kswapd tracepoints

It is not clear how the zone id is useful in kswapd tracepoints and the id
itself is not really easy to process because it depends on the
configuration (available zones).  Let's drop the id for now.  If somebody
really needs that information then the zone name should be used instead.

[mhocko@suse.com: new changelog]
Link: http://lkml.kernel.org/r/1552451813-10833-1-git-send-email-laoar.shao@gmail.comSigned-off-by: default avatarYafang Shao <laoar.shao@gmail.com>
Acked-by: default avatarMichal Hocko <mhocko@suse.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 745e1014
......@@ -73,7 +73,9 @@ TRACE_EVENT(mm_vmscan_kswapd_wake,
__entry->order = order;
),
TP_printk("nid=%d zid=%d order=%d", __entry->nid, __entry->zid, __entry->order)
TP_printk("nid=%d order=%d",
__entry->nid,
__entry->order)
);
TRACE_EVENT(mm_vmscan_wakeup_kswapd,
......@@ -96,9 +98,8 @@ TRACE_EVENT(mm_vmscan_wakeup_kswapd,
__entry->gfp_flags = gfp_flags;
),
TP_printk("nid=%d zid=%d order=%d gfp_flags=%s",
TP_printk("nid=%d order=%d gfp_flags=%s",
__entry->nid,
__entry->zid,
__entry->order,
show_gfp_flags(__entry->gfp_flags))
);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment