[BOLT][docs] Add merge-fdata to Linux optimization guide (#97659)

This commit is contained in:
Maksim Panchenko 2024-07-03 17:30:37 -07:00 committed by GitHub
parent 94471e73fe
commit a0c6b8aef8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,6 +44,11 @@ $ perf2bolt -p perf.data -o perf.fdata vmlinux
Under a high load, `perf.data` should be several gigabytes in size and you should expect the converted `perf.fdata` not to exceed 100 MB.
Profiles collected from multiple workloads could be joined into a single profile using `merge-fdata` utility:
```bash
$ merge-fdata perf.1.fdata perf.2.fdata ... perf.<N>.fdata > perf.merged.fdata
```
Two changes are required for the kernel build. The first one is optional but highly recommended. It introduces a BOLT-reserved space into `vmlinux` code section: