The patch titled Subject: mm: compaction: show gfp flag names in try_to_compact_pages tracepoint has been added to the -mm tree. Its filename is mm-compaction-show-gfp-flag-names-in-try_to_compact_pages-tracepoint.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-compaction-show-gfp-flag-names-in-try_to_compact_pages-tracepoint.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-compaction-show-gfp-flag-names-in-try_to_compact_pages-tracepoint.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Yafang Shao <laoar.shao@xxxxxxxxx> Subject: mm: compaction: show gfp flag names in try_to_compact_pages tracepoint Showing the gfp flag names instead of the gfp_mask makes trace more convenient. Link: http://lkml.kernel.org/r/1552527998-13162-1-git-send-email-laoar.shao@xxxxxxxxx Signed-off-by: Yafang Shao <laoar.shao@xxxxxxxxx> Acked-by: Michal Hocko <mhocko@xxxxxxxx> Cc: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- --- a/include/trace/events/compaction.h~mm-compaction-show-gfp-flag-names-in-try_to_compact_pages-tracepoint +++ a/include/trace/events/compaction.h @@ -189,9 +189,9 @@ TRACE_EVENT(mm_compaction_try_to_compact __entry->prio = prio; ), - TP_printk("order=%d gfp_mask=0x%x priority=%d", + TP_printk("order=%d gfp_mask=%s priority=%d", __entry->order, - __entry->gfp_mask, + show_gfp_flags(__entry->gfp_mask), __entry->prio) ); _ Patches currently in -mm which might be from laoar.shao@xxxxxxxxx are mm-vmscan-drop-zone-id-from-kswapd-tracepoints.patch mm-compaction-show-gfp-flag-names-in-try_to_compact_pages-tracepoint.patch