[all-commits] [llvm/llvm-project] 9c3e70: [BOLT] Add -print-mappings option to heatmaps

Paschalis Mpeis via All-commits all-commits at lists.llvm.org
Wed Jul 3 05:21:37 PDT 2024


  Branch: refs/heads/users/paschalis-mpeis/bolt-heatmap-section-mappings
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c3e70a7af105b09119f922d82973db320322a2b
      https://github.com/llvm/llvm-project/commit/9c3e70a7af105b09119f922d82973db320322a2b
  Author: Paschalis Mpeis (aws-mem-aarch64) <paschalis.mpeis at arm.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M bolt/docs/CommandLineArgumentReference.md
    M bolt/docs/Heatmaps.md
    M bolt/include/bolt/Utils/CommandLineOpts.h
    M bolt/lib/Profile/Heatmap.cpp
    M bolt/lib/Utils/CommandLineOpts.cpp

  Log Message:
  -----------
  [BOLT] Add -print-mappings option to heatmaps

Emit a mapping in the legend between the characters/buckets and the text
sections, using:

```sh
llvm-heatmap-bolt -print-mappings ..
```

Example:
```
Legend:
..
Sections:
  a/A : .init      0x00000100-0x00000200
  b/B : .plt       0x00000200-0x00000500
  c/C : .text      0x00010000-0x000a0000
  d/D : .fini      0x000a0000-0x000f0000
..
```



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