Skip to content
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

Various small refactors #5260

Merged
merged 4 commits into from
Mar 24, 2025

Conversation

HofiOne
Copy link
Collaborator

@HofiOne HofiOne commented Mar 13, 2025

Backport of 368 by @alltilla

@HofiOne HofiOne changed the title Backport/various small refactors Various small refactors Mar 13, 2025
@HofiOne HofiOne force-pushed the backport/various-small-refactors branch from 10adf1d to 25c0f9b Compare March 13, 2025 16:59
bazsi added 4 commits March 18, 2025 13:34
This is never inlined anyway, but duplicated into all modules using
log_pipe_queue(), it is then better to just have it in one location.

Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
Signed-off-by: Hofi <hofione@gmail.com>
log_pipe_forward_msg() is not inlined anyway, so it will just add an extra branch.

Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
Signed-off-by: Hofi <hofione@gmail.com>
Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
Signed-off-by: Hofi <hofione@gmail.com>
Checking the global variable pipe_single_step_hook is quite complicated as
it is addressed $rip relative, so let's filter out the config related
pipes first and remove the same check from the debugger.

Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
Signed-off-by: Hofi <hofione@gmail.com>
@HofiOne HofiOne force-pushed the backport/various-small-refactors branch from 25c0f9b to 56ff9c5 Compare March 18, 2025 12:34
@HofiOne HofiOne marked this pull request as ready for review March 18, 2025 12:38
@HofiOne HofiOne merged commit bcfe377 into syslog-ng:develop Mar 24, 2025
28 checks passed
@HofiOne HofiOne deleted the backport/various-small-refactors branch March 24, 2025 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants