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: <CAM9d7ciPd4vf3v1rdOD43vR-bh0pjj1LCcrMVTLfH6Fcxx_Dsw@mail.gmail.com>
Date:   Wed, 7 Sep 2022 23:59:27 -0700
From:   Namhyung Kim <namhyung@...nel.org>
To:     Yang Jihong <yangjihong1@...wei.com>
Cc:     Peter Zijlstra <peterz@...radead.org>,
        Ingo Molnar <mingo@...hat.com>,
        Arnaldo Carvalho de Melo <acme@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Jiri Olsa <jolsa@...nel.org>,
        linux-perf-users <linux-perf-users@...r.kernel.org>,
        linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] perf lock: Remove redundant word 'contention' in help message

Hello,

On Wed, Sep 7, 2022 at 6:52 PM Yang Jihong <yangjihong1@...wei.com> wrote:
>
> Before:
>   # perf lock -h
>
>    Usage: perf lock [<options>] {record|report|script|info|contention|contention}
>
>       -D, --dump-raw-trace  dump raw trace in ASCII
>       -f, --force           don't complain, do it
>       -i, --input <file>    input file name
>       -v, --verbose         be more verbose (show symbol address, etc)
>           --kallsyms <file>
>                             kallsyms pathname
>           --vmlinux <file>  vmlinux pathname
>
> After:
>   # perf lock -h
>
>    Usage: perf lock [<options>] {record|report|script|info|contention}
>
>       -D, --dump-raw-trace  dump raw trace in ASCII
>       -f, --force           don't complain, do it
>       -i, --input <file>    input file name
>       -v, --verbose         be more verbose (show symbol address, etc)
>           --kallsyms <file>
>                             kallsyms pathname
>           --vmlinux <file>  vmlinux pathname
>
> Fixes: 528b9cab3b81 ("perf lock: Add 'contention' subcommand")
> Signed-off-by: Yang Jihong <yangjihong1@...wei.com>

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

Thanks for the fix!

Namhyung


> ---
>  tools/perf/builtin-lock.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c
> index dd11d3471baf..ea40ae52cd2c 100644
> --- a/tools/perf/builtin-lock.c
> +++ b/tools/perf/builtin-lock.c
> @@ -1874,8 +1874,7 @@ int cmd_lock(int argc, const char **argv)
>                 NULL
>         };
>         const char *const lock_subcommands[] = { "record", "report", "script",
> -                                                "info", "contention",
> -                                                "contention", NULL };
> +                                                "info", "contention", NULL };
>         const char *lock_usage[] = {
>                 NULL,
>                 NULL
> --
> 2.30.GIT
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ