-
Notifications
You must be signed in to change notification settings - Fork 2
Description
This is possibly a quite "special" request: I'd like to combine events that match a prefix/suffix, which would be specified on command line.
By "combine" I mean that the events would be calculated as if they would have been seen in the caller:
Giving the following four stacktraces during the pgcollect run:
main
func1
func1_
intfunc
main
func1
intfunc2
main
func2
intfunc
main
func2
func2_
And a suggested call of pgconvert -d symbol -c "intfunc*,*_" filename.pgdata > callgrind.out.overfiew_pgdata
"-c func count as caller, may use an asterisk to match multiple ones"
The "inspected" call stacks would be (after combining everything that starts with "intfunc" or ends with "_"):
main
func1
main
func1
main
func2
main
func2
when combining the call all costs attached to this specific entry would be counted as happened in the caller... _ maybe_ that means the combination switch must be handled (and therefore specified) during recording already?