Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andikleen/perf-gcov
autofdo implemented in perf
https://github.com/andikleen/perf-gcov
Last synced: 11 days ago
JSON representation
autofdo implemented in perf
- Host: GitHub
- URL: https://github.com/andikleen/perf-gcov
- Owner: andikleen
- Created: 2024-09-15T18:38:26.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-09-15T18:50:54.000Z (2 months ago)
- Last Synced: 2024-09-15T20:07:49.984Z (2 months ago)
- Language: Python
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
perf based replacement for autofdo to generate profile feedback data for gcc's -fauto-profile option.
Eventual goal is to support an online modus that supports contiguous profiling of the system
and then rebuilding pieces with profile feedback.Requires a perf tool with the patches in
https://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git/log/?h=perf/brstack-resolve-1Synopsis:
gcc -g -O2 -o workload ...
perf record -b -c 100003 -e branches:upp workload
gcov.py --binary workload --gcov file.gcov
gcc -fauto-profile=file.gcov -o workload.opt -O2 -g ...Status:
Should work for basic operations, but still various issues and needs more testing.