-
Notifications
You must be signed in to change notification settings - Fork 169
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
chore(driver/bpf): properly include sched.h in types.h since it uses TASK_COMM_LEN
#2087
Conversation
…`TASK_COMM_LEN`. Signed-off-by: Federico Di Pierro <[email protected]>
/milestone next-driver |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FedeDP The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Perf diff from master - unit tests
Heap diff from master - unit tests
Heap diff from master - scap file
Benchmarks diff from master
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2087 +/- ##
==========================================
- Coverage 73.58% 73.58% -0.01%
==========================================
Files 253 253
Lines 31869 31869
Branches 5650 5632 -18
==========================================
- Hits 23452 23451 -1
+ Misses 8408 8390 -18
- Partials 9 28 +19
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
X64 kernel testing matrix
ARM64 kernel testing matrix
|
What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
/area driver-bpf
Does this PR require a change in the driver versions?
What this PR does / why we need it:
Per #2086 it might happen that none of the include before
types.h
does provideTASK_COMM_LEN
declaration, ie: thatlinux/sched.h
is not included by any of thelinux/
headers included byquirks.h
.Since
types.h
needsTASK_COMM_LEN
, make it directly includesched.h
and avoid implicitly hoping for the inclusion of that macro.Which issue(s) this PR fixes:
Fixes #2086
Special notes for your reviewer:
Does this PR introduce a user-facing change?: