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  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM9d7cgXHnk6kGkqpPGRvvjGzdMq-EmaqG4XipsL6ag+EFe+0Q@mail.gmail.com>
Date:   Mon, 2 Nov 2020 22:50:40 +0900
From:   Namhyung Kim <namhyung@...nel.org>
To:     Jiri Olsa <jolsa@...nel.org>
Cc:     Arnaldo Carvalho de Melo <acme@...nel.org>,
        lkml <linux-kernel@...r.kernel.org>,
        Peter Zijlstra <a.p.zijlstra@...llo.nl>,
        Ingo Molnar <mingo@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Michael Petlan <mpetlan@...hat.com>,
        Ian Rogers <irogers@...gle.com>,
        Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH 2/2] perf tools: Add missing swap for ino_generation

On Mon, Nov 2, 2020 at 8:31 AM Jiri Olsa <jolsa@...nel.org> wrote:
>
> We are missing swap for ino_generation field.
>
> Fixes: 5c5e854bc760 ("perf tools: Add attr->mmap2 support")
> Signed-off-by: Jiri Olsa <jolsa@...nel.org>

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

Thanks
Namhyung


> ---
>  tools/perf/util/session.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
> index 7a5f03764702..d20b16ee7377 100644
> --- a/tools/perf/util/session.c
> +++ b/tools/perf/util/session.c
> @@ -595,6 +595,7 @@ static void perf_event__mmap2_swap(union perf_event *event,
>         event->mmap2.maj   = bswap_32(event->mmap2.maj);
>         event->mmap2.min   = bswap_32(event->mmap2.min);
>         event->mmap2.ino   = bswap_64(event->mmap2.ino);
> +       event->mmap2.ino_generation = bswap_64(event->mmap2.ino_generation);
>
>         if (sample_id_all) {
>                 void *data = &event->mmap2.filename;
> --
> 2.26.2
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ