[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190110101301.6196-1-jolsa@kernel.org>
Date: Thu, 10 Jan 2019 11:12:55 +0100
From: Jiri Olsa <jolsa@...nel.org>
To: Arnaldo Carvalho de Melo <acme@...nel.org>
Cc: lkml <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: [PATCHv2 0/6] perf session: Add reader object
hi,
this patchset adds reader object to interface event
processing for any data. It's defined as:
struct reader {
int fd;
u64 data_size;
u64 data_offset;
};
Now we can simply define reader object for arbitrary file
data portion and pass it to reader__process_events function
to process its data.
It's preparation for multiple file storage under perf.data
directory.
Available also in:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/reader
Changes in v2:
- rebased on latest perf/core
- added dependency patch (1/6) that was omitted in the original post
thanks,
jirka
---
Jiri Olsa (6):
perf session: Rearrange perf_session__process_events function
perf session: Get rid of file_size variable
perf session: Add reader object
perf session: Add data_size to reader object
perf session: Add data_offset to reader object
perf session: Add reader__process_events function
tools/perf/util/session.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------
1 file changed, 50 insertions(+), 35 deletions(-)
Powered by blists - more mailing lists