mbox series

[0/2] Save tracee memory map into trace.dat file

Message ID 20190617115218.6279-1-tz.stoyanov@gmail.com (mailing list archive)
Headers show
Series Save tracee memory map into trace.dat file | expand

Message

Tzvetomir Stoyanov (VMware) June 17, 2019, 11:52 a.m. UTC
From: "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@gmail.com>

New trace-cmd option is introduced, "--mmap". When it is used together
with -F or -P options, the memory map of the traced applications is
stored into the trace.dat file. The new API tracecmd_search_tracee_mmap()
can be used to do lookups into those memory maps.


Tzvetomir Stoyanov (1):
  trace-cmd: Implemented new API tracecmd_add_option_v()

Tzvetomir Stoyanov (VMware) (1):
  trace-cmd: Save the tracee memory map into the trace.dat file.

 include/trace-cmd/trace-cmd.h    |   9 +++
 include/traceevent/event-parse.h |   1 +
 lib/trace-cmd/trace-input.c      |  81 ++++++++++++++++++++
 tracecmd/include/trace-local.h   |  16 ++++
 tracecmd/trace-output.c          | 117 ++++++++++++++++++++++++-----
 tracecmd/trace-record.c          | 123 +++++++++++++++++++++++++++++++
 6 files changed, 330 insertions(+), 17 deletions(-)