[PATCH 0/2 V2] Add trace points to [m|mun|mre]map and brk

From: Eric B Munson
Date: Mon Jul 19 2010 - 13:06:56 EST


This patch set is a resubmit of several patches I sent out earlier that adds
trace points to the mmap family. These events report addresses and sizes when
each function returns success. They will be used by a userspace tool that will model memory usage.

Changes from V1:
- Group mmap, munmap, and brk into first patch (all in mmap.c) and mremap into
second (in mremap.c)
- Use DEFINE_EVENT_CLASS and DEFINE_EVENT for mmap and brk events

Eric B Munson (2):
Add trace points to mmap, munmap, and brk
Add mremap trace point

include/trace/events/mm.h | 97 +++++++++++++++++++++++++++++++++++++++++++++
mm/mmap.c | 15 ++++++-
mm/mremap.c | 4 ++
3 files changed, 115 insertions(+), 1 deletions(-)
create mode 100644 include/trace/events/mm.h

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/