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] [day] [month] [year] [list]
Message-Id: <173039472974.1704862.14503122898372001335.b4-ty@kernel.org>
Date: Thu, 31 Oct 2024 10:12:09 -0700
From: Namhyung Kim <namhyung@...nel.org>
To: Arnaldo Carvalho de Melo <acme@...nel.org>
Cc: Gabriele Monaco <gmonaco@...hat.com>, 
 Adrian Hunter <adrian.hunter@...el.com>, Ian Rogers <irogers@...gle.com>, 
 Jiri Olsa <jolsa@...nel.org>, Kan Liang <kan.liang@...ux.intel.com>, 
 Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, 
 linux-perf-users@...r.kernel.org
Subject: Re: [PATCH 1/1 perf-tools-next] perf ftrace latency: Fix unit on
 histogram first entry when using --use-nsec

On Tue, 29 Oct 2024 16:29:02 -0300, Arnaldo Carvalho de Melo wrote:

> The use_nsec arg wasn't being taken into account when printing the first
> histogram entry, fix it:
> 
>   root@...ber:~# perf ftrace latency --use-nsec -T switch_mm_irqs_off -a sleep 2
>   #   DURATION     |      COUNT | GRAPH                                          |
>        0 - 1    us |          0 |                                                |
>        1 - 2    ns |          0 |                                                |
>        2 - 4    ns |          0 |                                                |
>        4 - 8    ns |          0 |                                                |
>        8 - 16   ns |          0 |                                                |
>       16 - 32   ns |          0 |                                                |
>       32 - 64   ns |        125 |                                                |
>       64 - 128  ns |        335 |                                                |
>      128 - 256  ns |       2155 | ####                                           |
>      256 - 512  ns |       9996 | ###################                            |
>      512 - 1024 ns |       4958 | #########                                      |
>        1 - 2    us |       4636 | #########                                      |
>        2 - 4    us |       1053 | ##                                             |
>        4 - 8    us |         15 |                                                |
>        8 - 16   us |          1 |                                                |
>       16 - 32   us |          0 |                                                |
>       32 - 64   us |          0 |                                                |
>       64 - 128  us |          0 |                                                |
>      128 - 256  us |          0 |                                                |
>      256 - 512  us |          0 |                                                |
>      512 - 1024 us |          0 |                                                |
>        1 - ...  ms |          0 |                                                |
>   root@...ber:~#
> 
> [...]

Applied to perf-tools-next, thanks!

Best regards,
Namhyung


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ