lkml.org 
[lkml]   [2019]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv2 0/6] perf session: Add reader object
Hi Jirka,

On Thu, Jan 10, 2019 at 11:12:55AM +0100, Jiri Olsa wrote:
> 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.

I'm looking forward to seeing it soon! :)

Acked-by: Namhyung Kim <namhyung@kernel.org>

Thanks,
Namhyung


>
> 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(-)

\
 
 \ /
  Last update: 2019-01-11 02:31    [W:0.084 / U:2.908 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site