-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add syslog ng visibility into perf stackdumps #433
Open
bazsi
wants to merge
8
commits into
axoflow:main
Choose a base branch
from
bazsi:add-syslog-ng-visibility-into-perf-stackdumps
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add syslog ng visibility into perf stackdumps #433
bazsi
wants to merge
8
commits into
axoflow:main
from
bazsi:add-syslog-ng-visibility-into-perf-stackdumps
Conversation
This file contains 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
bazsi
force-pushed
the
add-syslog-ng-visibility-into-perf-stackdumps
branch
2 times, most recently
from
January 6, 2025 15:59
1f0d5ce
to
24d825c
Compare
bazsi
force-pushed
the
add-syslog-ng-visibility-into-perf-stackdumps
branch
from
January 11, 2025 16:35
24d825c
to
0d7227a
Compare
bazsi
changed the title
WIP: Add syslog ng visibility into perf stackdumps
Add syslog ng visibility into perf stackdumps
Jan 11, 2025
bazsi
force-pushed
the
add-syslog-ng-visibility-into-perf-stackdumps
branch
8 times, most recently
from
January 17, 2025 09:21
f5d90b6
to
a2f964b
Compare
Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
These were originally optional methods, but that means that descendant classes will not call the one from LogPipe. Let's create that so we have a spot to initialize perf trampolines. Signed-off-by: Balazs Scheidler <[email protected]>
When extracting the source text, we need to split the input into lines. Previously this was done every time we extracted a line of text, causing the startup to be very slow when I enabled source extraction for every FilterXExpr instance. This patch causes the result of that g_strsplit() call to be saved, effectively using more memory startup, but being a lot more efficient (e.g. startup within a second instead of 20 seconds or so). Signed-off-by: Balazs Scheidler <[email protected]>
In case an expr is optimized we might be setting the location of exprs multiple times, prepare for this case by freeing expr_text before setting it first. Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Balazs Scheidler <[email protected]>
bazsi
force-pushed
the
add-syslog-ng-visibility-into-perf-stackdumps
branch
from
January 18, 2025 07:27
a2f964b
to
73157be
Compare
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.
This PR adds filterx expr and logpipe level detail into perf backtraces. It depends on #444