[all-commits] [llvm/llvm-project] 2b8649: Added feature in llvm-profdata merge to filter fun...
William Junda Huang via All-commits
all-commits at lists.llvm.org
Tue Jan 23 13:19:58 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2b8649fbecdc300cde1032d739484690f75a27ba
https://github.com/llvm/llvm-project/commit/2b8649fbecdc300cde1032d739484690f75a27ba
Author: William Junda Huang <williamjhuang at google.com>
Date: 2024-01-23 (Tue, 23 Jan 2024)
Changed paths:
M llvm/docs/CommandGuide/llvm-profdata.rst
M llvm/include/llvm/ProfileData/SampleProf.h
A llvm/test/tools/llvm-profdata/merge-filter.test
M llvm/tools/llvm-profdata/llvm-profdata.cpp
Log Message:
-----------
Added feature in llvm-profdata merge to filter functions from the profile (#78378)
`--function=<regex>` Include functions matching regex in the output
`--no-function=<regex>` Exclude functions matching regex from the output
If both are specified, `--no-function` has a higher precedence if a
function name matches both filters
More information about the All-commits
mailing list