lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue,  5 Oct 2021 13:26:57 +0300
From:   Alexey Bayduraev <>
To:     Arnaldo Carvalho de Melo <>
Cc:     Jiri Olsa <>, Namhyung Kim <>,
        Alexander Shishkin <>,
        Peter Zijlstra <>,
        Ingo Molnar <>,
        linux-kernel <>,
        Andi Kleen <>,
        Adrian Hunter <>,
        Alexander Antonov <>,
        Alexei Budankov <>,
        Riccardo Mancini <>
Subject: [PATCH v2 0/5] perf session: Extend reader object to allow multiple readers

Changes in v2:
- introduced struct decomp_data suggested by Jiri Olsa
- removed unnecessary [PATCH v1 1/6]
- removed unnecessary extra line in [PATCH v2 4/5]
- removed unnecessary reader_state.eof flag in [PATCH v2 5/5]

Patch set adds state info and decompressor object into reader object
that made possible to split reader__process_events function into three
logical parts: init/exit, map/unmap and single event reader which are
used in events reader loop. This approach allows reading multiple trace
files at the same time. 

The design and implementation are based on the prototype [1], [2].

The patch set was separated from [3] and already was rewieved by
Namhyung Kim and Riccardo Mancini. The difference from [3] is that
this patch set keeps reader object allocation on the stack.


tools/perf/perf record -o -- matrix.gcc.g.O3
tools/perf/perf record -o -z -- matrix.gcc.g.O3
tools/perf/perf report -i
tools/perf/perf report -i --call-graph=callee
tools/perf/perf report -i --stdio --header
tools/perf/perf report -i -D --header

[1] git clone -b perf/record_threads

Alexey Bayduraev (5):
  perf session: Introduce reader_state in reader object
  perf session: Introduce decompressor in reader object
  perf session: Move init/exit code to separate functions
  perf session: Move map/unmap to separate function
  perf session: Load single file for analysis

 tools/perf/util/session.c | 215 +++++++++++++++++++++++++-------------
 tools/perf/util/session.h |  10 +-
 2 files changed, 151 insertions(+), 74 deletions(-)


Powered by blists - more mailing lists