linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC] mm,tracing: improve current situation
@ 2014-04-03 21:44 Davidlohr Bueso
  2014-04-03 22:31 ` Dave Hansen
  2014-04-03 23:24 ` Sasha Levin
  0 siblings, 2 replies; 5+ messages in thread
From: Davidlohr Bueso @ 2014-04-03 21:44 UTC (permalink / raw)
  To: linux-mm; +Cc: linux-kernel, Dave Jones, Sasha Levin, Andrew Morton

Hi All,

During LSFMM Dave Jones discussed the current situation around
testing/trinity in the mm. One of the conclusions was that basically we
lack tools to gather the necessary information to make debugging a less
painful process, making it pretty much a black box for a lot of cases.

One of the suggested ways to do so was to improve our tracing. Currently
we have events for kmem, vmscan and oom (which really just traces the
tunable updates) -- In addition Dave Hansen also also been trying to add
tracing for TLB range flushing, hopefully that can make it in some time
soon. However, this lacks the more general data that governs all of the
core VM, such as vmas and of course the mm_struct.

To this end, I've started adding events to trace the vma lifecycle,
including: creating, removing, splitting, merging, copying and
adjusting. Currently it only prints out the start and end virtual
addresses, such as:

bash-3661   [000]  ....  222.964847: split_vma: [8a8000-9a6000] => new: [9a6000-9b6000]

Now, on a more general scenario, I basically would like to know, 1) is
this actually useful... I'm hoping that, if in fact something like this
gets merged, it won't just sit there. 2) What other general data would
be useful for debugging purposes? I'm happy to collect feedback and send
out something we can all benefit from.

Thanks,
Davidlohr

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2014-04-08 15:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-03 21:44 [RFC] mm,tracing: improve current situation Davidlohr Bueso
2014-04-03 22:31 ` Dave Hansen
2014-04-03 23:34   ` Davidlohr Bueso
2014-04-03 23:24 ` Sasha Levin
2014-04-08 15:44   ` Vlastimil Babka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox