-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: "Filter Out By Binary" cannot be stacked #475
Comments
hey @GitMensch - I don't quite follow, the code does use stacks and matches multiple symbols and binaries. Maybe there's a logic bug in the code - can you give me an MWE of what you do where the filtering doesn't work the way you expect it to? |
Rechecked with several single-process recordings and found all of this to work well there (filtering out by binary, for two shared objects, one after another, also testing further "filter in", also worked fine and did not bring the filtered out back). Using a recent system-wide recording I see that "filter out by binary" seems to not stack (at least no in caller/callee, where I've tested): order by binary -> filter out by binary on the first entry "bash" -> gone Edit: second test: system-wide recording, filter in by process (in the timeline), then using the Flame Graph to "filter out by binary 1" (gone), then "filter out by binary 2" (gone, but binary 1 is in again) Just to recheck: Is there an option to "filter in by process" using multiple processes (for example after filtering in the timeline)? If not, should I open a new FR for that? |
Is your feature request related to a problem? Please describe.
Especially when recording system-wide or when otherwise recording multiple processes, for example via a shell script to get "combined results" as suggested in #464, you often end up with a profiling that includes not relevant system processes (for example
bash
,make
, running compiles/link, ...).Also when inspecting a "common" recording you may see two "big" functions that you are not interested in when checking the details.
Because of #4 and #292 we can filter by function/binary (works quite good and is often enough) or filter out a single function/binary.
Describe the solution you'd like
All "exclude" filters should "stack" automatic (a manual "reset filter" will be possible to empty the filter stack).
This allows for example to:
or:
Describe alternatives you've considered
For the binaries: record separately, then combine (as noted in the linked issue); but with the functions that still would be nice.
The text was updated successfully, but these errors were encountered: