linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 0/2] mm/migration: Add trace events
@ 2022-01-28 11:09 Anshuman Khandual
  2022-01-28 11:09 ` [PATCH V3 1/2] mm/migration: Add trace events for THP migrations Anshuman Khandual
  2022-01-28 11:09 ` [PATCH V3 2/2] mm/migration: Add trace events for base page and HugeTLB migrations Anshuman Khandual
  0 siblings, 2 replies; 3+ messages in thread
From: Anshuman Khandual @ 2022-01-28 11:09 UTC (permalink / raw)
  To: linux-mm, akpm; +Cc: Anshuman Khandual

This adds trace events for all migration scenarios including base page, THP
and HugeTLB. This series is applies on v5.17-rc1. 

Changes in V3:

- Dropped #define CREATE_TRACE_POINTS from powerpc platform in PATCH 01/02
- Dropped #define CREATE_TRACE_POINTS from x86 platform in PATCH 02/02
- Dropped #define CREATE_TRACE_POINTS from <mm/migrate.c> in PATCH 02/02
 
Changes in V2:

https://lore.kernel.org/all/1643080105-11416-1-git-send-email-anshuman.khandual@arm.com/

- Used DECLARE_EVENT_CLASS()/DEFINE_EVENT() construct reducing code footprint
- Added trace events for base page and HugeTLB

Changes in V1:

https://lore.kernel.org/all/1641531575-28524-1-git-send-email-anshuman.khandual@arm.com/

- Dropped mm, pmdp, page arguments from trace
- Updated trace argument names and output format

Changes in RFC:

https://lore.kernel.org/all/1640328398-20698-1-git-send-email-anshuman.khandual@arm.com/

Anshuman Khandual (2):
  mm/migration: Add trace events for THP migrations
  mm/migration: Add trace events for base page and HugeTLB migrations

 arch/powerpc/mm/book3s64/trace.c |  1 -
 arch/x86/mm/init.c               |  1 -
 include/trace/events/migrate.h   | 31 +++++++++++++++++++++++++++++++
 include/trace/events/thp.h       | 27 +++++++++++++++++++++++++++
 mm/huge_memory.c                 |  5 +++++
 mm/migrate.c                     |  4 +++-
 mm/rmap.c                        |  6 ++++++
 7 files changed, 72 insertions(+), 3 deletions(-)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-28 11:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-28 11:09 [PATCH V3 0/2] mm/migration: Add trace events Anshuman Khandual
2022-01-28 11:09 ` [PATCH V3 1/2] mm/migration: Add trace events for THP migrations Anshuman Khandual
2022-01-28 11:09 ` [PATCH V3 2/2] mm/migration: Add trace events for base page and HugeTLB migrations Anshuman Khandual

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).