[PATCH 0/3] perf tools: Add data file write interface

From: Jiri Olsa
Date: Fri Nov 22 2013 - 09:25:41 EST


hi,
adding perf_data_file__write function to centralize
output file writes. Using it in record and inject
commands.

David,
patch 2 could colide with your mmap changes, not sure
what's your plan with that in near future, let me know
and I can rebase if needed.

thanks,
jirka


Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Mike Galbraith <efault@xxxxxx>
Cc: Stephane Eranian <eranian@xxxxxxxxxx>
Cc: David Ahern <dsahern@xxxxxxxxx>
Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
---
Jiri Olsa (3):
perf tools: Add perf_data_file__write interface
perf record: Use perf_data_file__write for output file
perf inject: Handle output file via perf_data_file object

tools/perf/builtin-inject.c | 71 +++++++++++++++++++++++++++++++----------------------------------------
tools/perf/builtin-record.c | 42 +++++++++++++-----------------------------
tools/perf/util/data.c | 20 ++++++++++++++++++++
tools/perf/util/data.h | 15 ++++++++-------
4 files changed, 72 insertions(+), 76 deletions(-)
--
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/