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

misc: fix build of rules profiling #12039

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

regit
Copy link
Contributor

@regit regit commented Oct 25, 2024

The patch a0fc2b8 has removed the declaration of functions used when building with ruleset profiling only (without --enable-profiling). This is causing a build failure.

This patch moves the declaration to the rules profiling section to be sure it is always there.

Make sure these boxes are checked accordingly before submitting your Pull Request -- thank you.

Contribution style:

Our Contribution agreements:

Changes (if applicable):

Link to ticket: https://redmine.openinfosecfoundation.org/issues/7345

Describe changes:

  • fix build when only --enable-profiling-rules is used

The patch a0fc2b8 has removed the
declaration of functions used when building with ruleset profiling
only (without --enable-profiling). This is causing a build failure.

This patch moves the declaration to the rules profiling section to
be sure it is always there.
Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.41%. Comparing base (89aa525) to head (9ffb2cd).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12039      +/-   ##
==========================================
- Coverage   83.42%   83.41%   -0.01%     
==========================================
  Files         910      910              
  Lines      257642   257642              
==========================================
- Hits       214934   214914      -20     
- Misses      42708    42728      +20     
Flag Coverage Δ
fuzzcorpus 61.56% <ø> (-0.01%) ⬇️
livemode 19.41% <ø> (-0.01%) ⬇️
pcap 44.47% <ø> (-0.03%) ⬇️
suricata-verify 62.77% <ø> (+<0.01%) ⬆️
unittests 59.37% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@suricata-qa
Copy link

WARNING:

field baseline test %
SURI_TLPW2_autofp_stats_chk
.flow.end.tcp_state.established 8 9 112.5%

Pipeline 23186

@victorjulien
Copy link
Member

Thanks Eric, I think this shows missing coverage in our github ci workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants