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-next>] [day] [month] [year] [list]
Date:   Fri, 3 May 2019 11:19:30 +0000
From:   Leonard Crestez <>
To:     Stephen Boyd <>,
        Kieran Bingham <>,
        Jan Kiszka <>
CC:     Andrew Morton <>,
        Michael Turquette <>,
        "" <>,
        "" <>
Subject: [PATCH 0/2] gdb/scripts: Improve lx-clk-summary

The earlier series adding clk support to gdb/scripts was quickly
accepted but some concerns were raised by Stephen Boyd so this series
attempts to address them.

Link to previous series:

This is not a v2 and squashing is not expected.

Fields other than clk rate not covered because they're much more rarely
used and cache logic can get more complicated and brittle.

LX_GDBPARSED is used in because python does not
understand C integer literal suffixes like the "1UL" from the definition
of BIT() used by CLK_GET_RATE_NOCACHE. Alternative workarounds would be
hacking away UL suffixes with sed or redefining BIT&co but relying on
gdb evaluation is easier and much more flexible.

Leonard Crestez (2):
  scripts/gdb: Cleanup error handling in list helpers
  scripts/gdb: Print cached rate in lx-clk-summary

 scripts/gdb/linux/          | 21 ++++++++++++++-------
 scripts/gdb/linux/ |  4 ++++
 scripts/gdb/linux/        | 10 ++--------
 3 files changed, 20 insertions(+), 15 deletions(-)


Powered by blists - more mailing lists