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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 3 Sep 2020 17:21:37 -0300
From:   Arnaldo Carvalho de Melo <acme@...nel.org>
To:     Adrian Hunter <adrian.hunter@...el.com>,
        Alexey Budankov <alexey.budankov@...ux.intel.com>
Cc:     Jiri Olsa <jolsa@...hat.com>, Andi Kleen <ak@...ux.intel.com>,
        Namhyung Kim <namhyung@...nel.org>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH V3 4/6] perf tools: Add FIFO file names as alternative
 options to --control

Em Wed, Sep 02, 2020 at 08:03:08PM +0300, Alexey Budankov escreveu:
> 
> On 02.09.2020 13:57, Adrian Hunter wrote:
> > Enable the --control option to accept file names as an alternative to
> > file descriptors.
> > 
> > Example:
> > 
> >  $ mkfifo perf.control
> >  $ mkfifo perf.ack
> >  $ cat perf.ack &
> >  [1] 6808
> >  $ perf record --control fifo:perf.control,perf.ack -- sleep 300 &
> >  [2] 6810
> >  $ echo disable > perf.control
> >  $ Events disabled
> >  ack
> > 
> >  $ echo enable > perf.control
> >  $ Events enabled
> >  ack
> > 
> >  $ echo disable > perf.control
> >  $ Events disabled
> >  ack
> > 
> >  $ kill %2
> >  [ perf record: Woken up 4 times to write data ]
> >  $ [ perf record: Captured and wrote 0.018 MB perf.data (7 samples) ]
> > 
> >  [1]-  Done                    cat perf.ack
> >  [2]+  Terminated              perf record --control fifo:perf.control,perf.ack -- sleep 300
> >  $
> > 
> > Signed-off-by: Adrian Hunter <adrian.hunter@...el.com>
> > Acked-by: Jiri Olsa <jolsa@...hat.com>

Its great when things come with the exact sequence of commands to
test, the output, etc, keep it that way, please.

Thanks, tested, applied,

- Arnaldo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ