[all-commits] [llvm/llvm-project] 46e3ec: [BOLT][NFCI] Report perf script time (#147232)

Amir Ayupov via All-commits all-commits at lists.llvm.org
Mon Jul 7 06:06:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46e3ec0244c4d75a57cd635a28a9d5cbaee67c3d
      https://github.com/llvm/llvm-project/commit/46e3ec0244c4d75a57cd635a28a9d5cbaee67c3d
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2025-07-07 (Mon, 07 Jul 2025)

  Changed paths:
    M bolt/include/bolt/Profile/DataAggregator.h
    M bolt/lib/Profile/DataAggregator.cpp

  Log Message:
  -----------
  [BOLT][NFCI] Report perf script time (#147232)

Leverage `sys::ProcessStatistics` to report the run time and memory
usage of perf script processes launched when reading perf data.
The reporting is enabled in debug mode with `-debug-only=aggregator`.

Switch buildid-list command to non-waiting `launchPerfProcess` to get
its runtime as well, unifying it with the rest of perf script processes.

Test Plan: NFC



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list