lists.openwall.net   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  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 9 Jan 2019 17:58:33 +0100
From:   Jiri Olsa <jolsa@...hat.com>
To:     Alexey Budankov <alexey.budankov@...ux.intel.com>
Cc:     Arnaldo Carvalho de Melo <acme@...nel.org>,
        Ingo Molnar <mingo@...hat.com>,
        Peter Zijlstra <peterz@...radead.org>,
        Namhyung Kim <namhyung@...nel.org>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Andi Kleen <ak@...ux.intel.com>,
        linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1 2/4] perf record: introduce z, mmap-flush options and
 PERF_RECORD_COMPRESSED record

On Mon, Dec 24, 2018 at 04:45:21PM +0300, Alexey Budankov wrote:
> 
> Introduce --compression_level=n, --mmap-flush options and PERF_RECORD_COMPRESSED 
> event record that contains compressed parts of mmap kernel buffer data.
> 
> Signed-off-by: Alexey Budankov <alexey.budankov@...ux.intel.com>
> ---
>  tools/perf/Documentation/perf-record.txt | 11 +++
>  tools/perf/builtin-record.c              | 97 ++++++++++++++++++++----
>  tools/perf/perf.h                        |  2 +
>  tools/perf/util/env.h                    | 10 +++
>  tools/perf/util/event.c                  |  1 +
>  tools/perf/util/event.h                  |  7 ++
>  tools/perf/util/evlist.c                 |  6 +-
>  tools/perf/util/evlist.h                 |  2 +-
>  tools/perf/util/header.c                 | 47 +++++++++++-
>  tools/perf/util/header.h                 |  1 +
>  tools/perf/util/mmap.c                   |  4 +-
>  tools/perf/util/mmap.h                   |  3 +-
>  12 files changed, 169 insertions(+), 22 deletions(-)

also I'm getting here similar error (like for the affinity patchset)

[jolsa@...va perf]$ git am /tmp/comp
Applying: feature: build libzstd feature check, LIBZSTD_DIR and NO_LIBZSTD defines
Applying: perf record: introduce z, mmap-flush options and PERF_RECORD_COMPRESSED record
error: corrupt patch at line 526
Patch failed at 0002 perf record: introduce z, mmap-flush options and PERF_RECORD_COMPRESSED record

again the raw patch applies correctly:

[jolsa@...va perf]$ patch -p3 < /tmp/comp2
patching file Documentation/perf-record.txt
patching file builtin-record.c
patching file perf.h
patching file util/env.h
patching file util/event.c
patching file util/event.h
patching file util/evlist.c
patching file util/evlist.h
patching file util/header.c
patching file util/header.h
patching file util/mmap.c
patching file util/mmap.h


jirka

Powered by blists - more mailing lists