Add --trace=plugin=<name> scoped plugin tracing - #1718
Merged
Shankar Easwaran (quic-seaswara) merged 1 commit intoAug 28, 2026
Conversation
Troy Curtiss (tcurtiss)
requested review from
Parth (parth-07) and
Shankar Easwaran (quic-seaswara)
as code owners
August 17, 2026 07:07
Troy Curtiss (tcurtiss)
force-pushed
the
main_traceplugin
branch
from
August 19, 2026 04:18
3cb88c2 to
d7cd55a
Compare
Parth (parth-07)
approved these changes
Aug 20, 2026
Parth (parth-07)
force-pushed
the
main_traceplugin
branch
from
August 20, 2026 09:58
faddb5a to
96fdb9d
Compare
Shankar Easwaran (quic-seaswara)
approved these changes
Aug 26, 2026
Shankar Easwaran (quic-seaswara)
force-pushed
the
main_traceplugin
branch
from
August 26, 2026 19:36
16d4e8e to
0526208
Compare
Troy Curtiss (tcurtiss)
force-pushed
the
main_traceplugin
branch
from
August 26, 2026 23:35
6c9bd90 to
69981fd
Compare
Extend --trace=<category>[=<name>] (mirroring symbol=/section=/reloc=) to plugins, so an individual plugin's diagnostics can be enabled without tracing every plugin. GeneralOptions::tracePlugin() checks an exact-string/regex allowlist populated by the new plugin=<name> case, falling back to "trace everything" for the pre-existing bare --trace=plugin. Plugin::isTraced() wraps this check and replaces every tracePlugins()-gated call site in Plugin.cpp, PluginManager.cpp, and GNULDBackend::RunPluginsAndProcessHelper with per-plugin gating via O->prolog().getPlugin()->isTraced(). Signed-off-by: Troy Curtiss <trcurtiss@gmail.com>
Troy Curtiss (tcurtiss)
force-pushed
the
main_traceplugin
branch
from
August 27, 2026 00:10
69981fd to
0258b30
Compare
quic-areg
approved these changes
Aug 27, 2026
Shankar Easwaran (quic-seaswara)
merged commit Aug 28, 2026
958ed4b
into
qualcomm:main
12 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extend --trace=[=] (mirroring symbol=/section=/reloc=) to plugins, so an individual plugin's diagnostics can be enabled without tracing every plugin. GeneralOptions::tracePlugin() checks an exact-string/regex allowlist populated by the new plugin= case, falling back to "trace everything" for the pre-existing bare --trace=plugin.
Plugin::isTraced() wraps this check and replaces every tracePlugins()-gated call site in Plugin.cpp, PluginManager.cpp, and GNULDBackend::RunPluginsAndProcessHelper with per-plugin gating via O->prolog().getPlugin()->isTraced().
(cherry picked from commit b4b7af1)