Re: [PATCH 01/11] perf data: Add directory support

2019-03-08 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 08, 2019 at 02:47:35PM +0100, Jiri Olsa escreveu: > Adding support to have directory as perf.data. > > The caller needs to set 'struct perf_data::is_dir flag > and the path will be treated as directory. > > The 'struct perf_data::file' is initialized and open > as 'path/header' file.

[PATCH 01/11] perf data: Add directory support

2019-03-08 Thread Jiri Olsa
Adding support to have directory as perf.data. The caller needs to set 'struct perf_data::is_dir flag and the path will be treated as directory. The 'struct perf_data::file' is initialized and open as 'path/header' file. Adding check to direcory interface functions to check on is_dir flag.

[PATCH 01/11] perf data: Add directory support

2019-02-26 Thread Jiri Olsa
Adding support to have directory as perf.data. The caller needs to set 'struct perf_data::is_dir flag and the path will be treated as directory. The 'struct perf_data::file' is initialized and open as 'path/header' file. Adding check to direcory interface functions to check on is_dir flag.