lkml.org 
[lkml]   [2013]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCHv2 0/7] perf tools: Add data file write interface
Date
hi,
adding perf_data_file__write function to centralize
output file writes. Using it in record and inject
commands.

v2 changes:
- changes for readn function, suggested by Ingo
- added writen function, suggested by Arnaldo
- spliting record change into 2 separated patches
- omiting some unnecessary changes in the inject change

thanks,
jirka


Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
---
Jiri Olsa (7):
perf record: Unify data output code into perf_record__write function
perf tools: Use correct return type for readn function
perf tools: Fine tune readn function
perf tools: Add writen function
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 | 65 +++++++++++++++++++++++++++--------------------------------------
tools/perf/builtin-record.c | 41 +++++++++++++----------------------------
tools/perf/util/data.c | 6 ++++++
tools/perf/util/data.h | 14 ++++++++------
tools/perf/util/header.c | 18 +++++++++---------
tools/perf/util/session.c | 2 +-
tools/perf/util/util.c | 32 ++++++++++++++++++++++++++------
tools/perf/util/util.h | 3 ++-
8 files changed, 92 insertions(+), 89 deletions(-)


\
 
 \ /
  Last update: 2013-11-28 11:41    [W:0.244 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site