mm: migrate: Add a tracepoint for migrate_pages
The pgmigrate_success and pgmigrate_fail vmstat counters tells the user about migration activity but not the type or the reason. This patch adds a tracepoint to identify the type of page migration and why the page is being migrated. Signed-off-by:Mel Gorman <mgorman@suse.de> Reviewed-by:
Rik van Riel <riel@redhat.com>
Showing
- include/linux/migrate.h 11 additions, 2 deletionsinclude/linux/migrate.h
- include/trace/events/migrate.h 51 additions, 0 deletionsinclude/trace/events/migrate.h
- mm/compaction.c 2 additions, 1 deletionmm/compaction.c
- mm/memory-failure.c 2 additions, 1 deletionmm/memory-failure.c
- mm/memory_hotplug.c 2 additions, 1 deletionmm/memory_hotplug.c
- mm/mempolicy.c 4 additions, 2 deletionsmm/mempolicy.c
- mm/migrate.c 8 additions, 2 deletionsmm/migrate.c
- mm/page_alloc.c 2 additions, 1 deletionmm/page_alloc.c
Loading
Please register or sign in to comment