[all-commits] [llvm/llvm-project] c5c0f9: [scudo] Support printing the status of cached blocks

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Wed Apr 19 18:09:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5c0f9b400e55553a0c3ff281b3d172ea488fc37
      https://github.com/llvm/llvm-project/commit/c5c0f9b400e55553a0c3ff281b3d172ea488fc37
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2023-04-20 (Thu, 20 Apr 2023)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/combined.h
    M compiler-rt/lib/scudo/standalone/local_cache.h
    M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
    M compiler-rt/lib/scudo/standalone/tsd_exclusive.h
    M compiler-rt/lib/scudo/standalone/tsd_shared.h

  Log Message:
  -----------
  [scudo] Support printing the status of cached blocks

The output looks like,
  Stats: SharedTSDs: 2 available; total 8
    Shared TSD[0]:
      00 (    64): cached:   10 max:   26
      32 ( 65552): cached:    1 max:    2
    Shared TSD[1]:
      No block is cached.

Differential Revision: https://reviews.llvm.org/D148755




More information about the All-commits mailing list