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: <20200205091414.GB495987@virgo>
Date:   Wed, 5 Feb 2020 10:14:14 +0100
From:   Hagen Paul Pfeifer <hagen@...u.net>
To:     Andi Kleen <ak@...ux.intel.com>
Cc:     linux-kernel@...r.kernel.org,
        Adrian Hunter <adrian.hunter@...el.com>,
        Jiri Olsa <jolsa@...nel.org>,
        Arnaldo Carvalho de Melo <acme@...nel.org>
Subject: Re: [PATCH] perf script: introduce deltatime option

* Andi Kleen | 2020-02-04 15:16:28 [-0800]:

>> $ perf script --deltatime
>
>It's already implemented as --reltime

Nope ;-)

$ perf script --ns --reltime
           sleep 49148 [000]     0.000000000: probe_libc:sbrk: (7f279d9144f0)
           sleep 49148 [000]     0.000009153: probe_libc:sbrk: (7f279d9144f0)
              sh 49151 [002]     0.099454082: probe_libc:sbrk: (7f9f1c6374f0)
              sh 49151 [002]     0.099468538: probe_libc:sbrk: (7f9f1c6374f0)
            curl 49153 [003]     0.114459574: probe_libc:sbrk: (7f9bb2dfb4f0)
            curl 49153 [003]     0.114474449: probe_libc:sbrk: (7f9bb2dfb4f0)
						[...]

$ perf script --ns --deltatime
           sleep 49148 [000]     0.000000000: probe_libc:sbrk: (7f279d9144f0)
           sleep 49148 [000]     0.000009153: probe_libc:sbrk: (7f279d9144f0)
              sh 49151 [002]     0.099444929: probe_libc:sbrk: (7f9f1c6374f0)
              sh 49151 [002]     0.000014456: probe_libc:sbrk: (7f9f1c6374f0)
            curl 49153 [003]     0.014991036: probe_libc:sbrk: (7f9bb2dfb4f0)
            curl 49153 [003]     0.000014875: probe_libc:sbrk: (7f9bb2dfb4f0)
						[...]


reltime is relative to the *first event* in the record - deltatime is relative
to the *previous* event.

Hagen

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ