Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
netobserv-ebpf-agent
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hdacloud
netobserv-ebpf-agent
Commits
f86bd0e9
Unverified
Commit
f86bd0e9
authored
1 year ago
by
Mohamed S. Mahmoud
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
make sure to copy all maps for older kernels (#334)
Signed-off-by:
Mohamed Mahmoud
<
mmahmoud@redhat.com
>
parent
baa1dc46
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/ebpf/tracer.go
+3
-1
3 additions, 1 deletion
pkg/ebpf/tracer.go
with
3 additions
and
1 deletion
pkg/ebpf/tracer.go
+
3
−
1
View file @
f86bd0e9
...
@@ -638,6 +638,9 @@ func kernelSpecificLoadAndAssign(oldKernel bool, spec *ebpf.CollectionSpec) (Bpf
...
@@ -638,6 +638,9 @@ func kernelSpecificLoadAndAssign(oldKernel bool, spec *ebpf.CollectionSpec) (Bpf
// Note for any future maps or programs make sure to copy them manually here
// Note for any future maps or programs make sure to copy them manually here
objects
.
DirectFlows
=
newObjects
.
DirectFlows
objects
.
DirectFlows
=
newObjects
.
DirectFlows
objects
.
AggregatedFlows
=
newObjects
.
AggregatedFlows
objects
.
AggregatedFlows
=
newObjects
.
AggregatedFlows
objects
.
DnsFlows
=
newObjects
.
DnsFlows
objects
.
FilterMap
=
newObjects
.
FilterMap
objects
.
GlobalCounters
=
newObjects
.
GlobalCounters
objects
.
TcEgressFlowParse
=
newObjects
.
TcEgressFlowParse
objects
.
TcEgressFlowParse
=
newObjects
.
TcEgressFlowParse
objects
.
TcIngressFlowParse
=
newObjects
.
TcIngressFlowParse
objects
.
TcIngressFlowParse
=
newObjects
.
TcIngressFlowParse
objects
.
TcxEgressFlowParse
=
newObjects
.
TcxEgressFlowParse
objects
.
TcxEgressFlowParse
=
newObjects
.
TcxEgressFlowParse
...
@@ -648,7 +651,6 @@ func kernelSpecificLoadAndAssign(oldKernel bool, spec *ebpf.CollectionSpec) (Bpf
...
@@ -648,7 +651,6 @@ func kernelSpecificLoadAndAssign(oldKernel bool, spec *ebpf.CollectionSpec) (Bpf
objects
.
TcxIngressPcaParse
=
newObjects
.
TcxIngressPcaParse
objects
.
TcxIngressPcaParse
=
newObjects
.
TcxIngressPcaParse
objects
.
TcpRcvFentry
=
newObjects
.
TCPRcvFentry
objects
.
TcpRcvFentry
=
newObjects
.
TCPRcvFentry
objects
.
TcpRcvKprobe
=
newObjects
.
TCPRcvKprobe
objects
.
TcpRcvKprobe
=
newObjects
.
TCPRcvKprobe
objects
.
GlobalCounters
=
newObjects
.
GlobalCounters
objects
.
KfreeSkb
=
nil
objects
.
KfreeSkb
=
nil
}
else
{
}
else
{
if
err
:=
spec
.
LoadAndAssign
(
&
objects
,
nil
);
err
!=
nil
{
if
err
:=
spec
.
LoadAndAssign
(
&
objects
,
nil
);
err
!=
nil
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment