[Midnightbsd-cvs] [MidnightBSD/src] b70d13: cpufreq: add mean frequency option

Lucas Holt noreply at github.com
Tue Jun 9 00:21:59 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: b70d1347f78c655f7f87f9510bd39cf7113985cc
      https://github.com/MidnightBSD/src/commit/b70d1347f78c655f7f87f9510bd39cf7113985cc
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M usr.bin/cpufreq/cpufreq.1
    M usr.bin/cpufreq/cpufreq.c
    M usr.bin/cpufreq/tests/cpufreq_test.sh

  Log Message:
  -----------
  cpufreq: add mean frequency option

Add -m to report the mean frequency across all CPU cores, leaving -a available for future all-core output.

Update the manual page and ATF coverage for mean mode and the mutually exclusive -m/-c option handling.

AI-Assisted-by: OpenAI Codex
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: fb30a0cfe67c0a809b3f93b6b5063b0431aa5859
      https://github.com/MidnightBSD/src/commit/fb30a0cfe67c0a809b3f93b6b5063b0431aa5859
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M usr.bin/cpufreq/cpufreq.1
    M usr.bin/cpufreq/cpufreq.c
    M usr.bin/cpufreq/tests/cpufreq_test.sh

  Log Message:
  -----------
  cpufreq: add all-core frequency output

Add -a to print each CPU core id and current frequency on its own line.

Keep -a, -c, and -m mutually exclusive, and extend ATF coverage for all-core output and option conflicts.

AI-Assisted-by: OpenAI Codex
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: 5d5658a4e8e38052bbd9fb4ff12c134609845568
      https://github.com/MidnightBSD/src/commit/5d5658a4e8e38052bbd9fb4ff12c134609845568
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M usr.bin/cpufreq/cpufreq.1
    M usr.bin/cpufreq/cpufreq.c
    M usr.bin/cpufreq/tests/cpufreq_test.sh

  Log Message:
  -----------
  cpufreq: add help option

Add -h to print usage information to stdout and exit successfully.

Keep existing error usage paths on stderr with a non-zero exit, and add ATF coverage for help output.

AI-Assisted-by: OpenAI Codex
Signed-off-by: Lucas Holt <luke at foolishgames.com>


  Commit: ee2031de06aaab91ab9e1a3d633866bfdc8a0219
      https://github.com/MidnightBSD/src/commit/ee2031de06aaab91ab9e1a3d633866bfdc8a0219
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M usr.bin/cpufreq/cpufreq.1
    M usr.bin/cpufreq/cpufreq.c
    M usr.bin/cpufreq/tests/cpufreq_test.sh

  Log Message:
  -----------
  cpufreq: add long option aliases

Add getopt_long aliases for all, cpu, help, mean, and verbose options.

Update the manual page and ATF coverage to exercise the long forms.

AI-Assisted-by: OpenAI Codex
Signed-off-by: Lucas Holt <luke at foolishgames.com>


Compare: https://github.com/MidnightBSD/src/compare/618ae68ac26f...ee2031de06aa

To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list