Граф коммитов

896 Коммитов

Автор SHA1 Сообщение Дата
Dave Thaler 568e8f0bdf
Add ability to enumerate maps associated with a program (#1395)
* Add map ids test

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Enumerate maps associated with a program

Fixes #1339

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Initialize info before calling

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Update bpftool

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Make "netsh show prog l=v" show map ids for program

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Return EFAULT if map_ids is not a valid pointer

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix warning

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* More test fixes

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix test

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix socket test

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Add more checks in the socket test

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix socket test

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix netsh

Also fix GettingStarted.md and a missing space in the logs
that were found while testing this fix.

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Set map_ids on output

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2022-09-30 12:12:12 -07:00
Alan Jowett 3b71c617ac
Update setup_build.vcxproj (#1432) 2022-09-30 11:38:07 -07:00
Alan Jowett b371d24603
Fix the bpf_map_lookup_elem / bpf_map_update_elem API for per-cpu maps. (#1423)
* The bpf_map_lookup_elem API should correctly handle PERCPU maps.

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Use correct APIs to compute current CPU index and maximum CPU index

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: saxena-anurag <43585259+saxena-anurag@users.noreply.github.com>
2022-09-30 10:24:50 -07:00
Alan Jowett cc9a809ba1
Add tests to verify BPF code generation for interpret and jit (#1430)
* Add tests to verify BPF code generation for interpret and jit

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* PR feedback and fix build

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Fix unit tests

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2022-09-29 17:50:17 -06:00
Alan Jowett 0702410070
Implement correct division by zero behavior (#1411)
* Implement correct division by zero behavior

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Simplify code gen

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
Co-authored-by: saxena-anurag <43585259+saxena-anurag@users.noreply.github.com>
2022-09-28 18:31:43 -06:00
Alan Jowett bb1a708392
Add correct path to .guid files (#1429)
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-09-28 15:33:33 -06:00
Alan Jowett 170b847120
Update ebpf_version.h (#1428) 2022-09-28 14:22:08 -06:00
Alan Jowett 6380f7961b
Update version number as part of build (#1373)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: saxena-anurag <43585259+saxena-anurag@users.noreply.github.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-09-28 10:07:57 -07:00
James Sturtevant 43b0196149
Use installer instead of building (#1414)
Signed-off-by: James Sturtevant <jstur@microsoft.com>

Signed-off-by: James Sturtevant <jstur@microsoft.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-09-27 13:05:34 -07:00
Dave Thaler 23e6b53d8d
Update verifier to latest (#1419)
Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Co-authored-by: saxena-anurag <43585259+saxena-anurag@users.noreply.github.com>
2022-09-26 13:19:12 -07:00
saxena-anurag a39d6c23c7
fix (#1421)
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-09-26 12:17:53 -07:00
dependabot[bot] bcd6080796
Bump github/codeql-action from 2.1.24 to 2.1.25 (#1418)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.24 to 2.1.25.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](904260d7d9...86f3159a69)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alan Jowett <alanjo@microsoft.com>
2022-09-26 12:13:30 -06:00
dependabot[bot] aa9e8f4be9
Bump codecov/codecov-action from 3.1.0 to 3.1.1 (#1417)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](81cd2dc814...d9f34f8cd5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alan Jowett <alanjo@microsoft.com>
2022-09-26 10:50:41 -06:00
dependabot[bot] 6b3556848a
Bump external/Catch2 from `98d37da` to `c0e582e` (#1416)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `98d37da` to `c0e582e`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](98d37da03e...c0e582e659)

---
updated-dependencies:
- dependency-name: external/Catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 09:07:10 -06:00
Dave Thaler ecd08ecbb9
Fix docs on show verification (#1407)
PR #1257 removed the default program type, but didn't update
the tutorial accordingly.  This PR does so, and also fixes
the help output from netsh.

Fixes #1406

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2022-09-21 15:37:10 -07:00
Alan Jowett f93f0d58ee
Include hash of program information in metadata (#1376)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-09-20 15:58:38 -07:00
Shankar Seal 1a583a036d
Update documentation on xdp_tests (#1403)
* doc changes.

* PR Feedback.

* PR Feedback.

Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-09-20 14:52:52 -07:00
Shankar Seal d60725f04e
Fix to issue #1272. (#1402)
Co-authored-by: saxena-anurag <43585259+saxena-anurag@users.noreply.github.com>
Co-authored-by: Alan Jowett <alanjo@microsoft.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-09-19 13:12:30 -06:00
Dave Thaler 71dc88743e
Add xdp_tests.exe to deploy script (#1397)
And fix doc typos

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Co-authored-by: saxena-anurag <43585259+saxena-anurag@users.noreply.github.com>
2022-09-19 09:16:45 -07:00
dependabot[bot] 85420b8ae3
Bump external/Catch2 from `dea1a6a` to `98d37da` (#1400)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `dea1a6a` to `98d37da`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](dea1a6abd9...98d37da03e)

---
updated-dependencies:
- dependency-name: external/Catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: saxena-anurag <43585259+saxena-anurag@users.noreply.github.com>
2022-09-19 08:29:17 -07:00
dependabot[bot] 0e9ad0170d
Bump github/codeql-action from 2.1.22 to 2.1.24 (#1401)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.22 to 2.1.24.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b398f525a5...904260d7d9)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-18 22:41:50 -07:00
Dave Thaler 480f51bf55
Bump version to 0.4.0 (#1391)
Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Co-authored-by: saxena-anurag <43585259+saxena-anurag@users.noreply.github.com>
2022-09-14 09:07:48 -06:00
dependabot[bot] d4d81de498
Bump external/Catch2 from `7b2e7d6` to `dea1a6a` (#1393)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `7b2e7d6` to `dea1a6a`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](7b2e7d623b...dea1a6abd9)

---
updated-dependencies:
- dependency-name: external/Catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-09-13 13:27:00 -06:00
Dave Thaler b18c7d3347
Work around recent Windows netsh regression (#1396)
Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2022-09-13 09:51:51 -06:00
dependabot[bot] c119a1bdb4
Bump github/codeql-action from 2.1.21 to 2.1.22 (#1388)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.21 to 2.1.22.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c7f292ea4f...b398f525a5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-09-07 08:02:29 -07:00
dependabot[bot] 7937be2e5f
Bump dawidd6/action-download-artifact from 2.22.0 to 2.23.0 (#1389)
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2.22.0 to 2.23.0.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](ea71f332a9...7847792dd4)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-09-07 07:22:44 -07:00
dependabot[bot] 5610b1de4d
Bump external/Catch2 from `dc001fa` to `7b2e7d6` (#1387)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `dc001fa` to `7b2e7d6`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](dc001fa935...7b2e7d623b)

---
updated-dependencies:
- dependency-name: external/Catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-09-06 21:39:18 -07:00
Dave Thaler 85a9d41e66
Add nuget docs (#1386)
Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2022-09-06 20:35:06 -07:00
Alan Jowett b3eac62ea2
Update nuget package to include export_program_info.exe (#1372)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-09-06 18:44:31 -07:00
Shankar Seal 25b35d2361
Enable KMDF tag tracking. (#1375)
* Enable KMDF tag tracking.

* Refactor.

* documentation.

Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-09-03 11:32:39 -06:00
Alan Jowett 77283f3361
Create or update issue on workflow failure (#1385)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-09-02 15:58:04 -06:00
dependabot[bot] 081235d8c1
Bump github/codeql-action from 2.1.20 to 2.1.21 (#1380)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.20 to 2.1.21.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](7fee4ca032...c7f292ea4f)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-09-01 09:07:00 -06:00
Alan Jowett 50844a88eb
Fix leak of reference on WDFREQUEST (#1383)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-08-29 18:04:05 -06:00
Alan Jowett 8112eb99df
Remove trailing whitespace in commited files (#1377)
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-08-29 14:15:46 -06:00
Dave Thaler d8aead85ad
Clean up the deprecated netsh use of bpf_object__for_each_safe() (#1368)
Fixes #1295

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2022-08-29 13:05:34 -06:00
dependabot[bot] 3ccbd73455
Bump actions/cache from 3.0.7 to 3.0.8 (#1381)
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](a7c34adf76...fd5de65bc8)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 09:02:15 -06:00
Shankar Seal 782244b4f0
remove deprecated prog_load API. (#1352)
* remove deprecated prog_load API.

* PR Feedback.

* PR Feedback.
2022-08-25 09:18:05 -06:00
Alan Jowett a5137aa357
Fix invalid map value size for prog_array and map_array (#1361)
* Fix invalid map value size for prog_array, map_array, and hash_of_maps

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Add negative tests for value size on object maps

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2022-08-24 14:51:37 -07:00
Dave Thaler 6888b14533
bpf_object__open_file() should allow null opts (#1363)
Fixes #1354

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2022-08-23 21:11:27 -07:00
Dave Thaler 61eddd268d
Update bpftool (#1337)
* Update bpftool

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

* Fix cmake build

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2022-08-23 13:46:29 -07:00
Dave Thaler 2bd9b47bdc
Fix doc link (#1338)
The link on https://microsoft.github.io/ebpf-for-windows/ was wrong
after we rearranged the headers.  This PR fixes the link to point
to the file that actually defines the helpers.

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
2022-08-23 12:46:50 -07:00
dependabot[bot] 897618eb2a
Bump github/codeql-action from 2.1.18 to 2.1.20 (#1362)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.18 to 2.1.20.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2ca79b6fa8...7fee4ca032)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-08-22 10:17:10 -07:00
dependabot[bot] 583c8a2332
Bump external/Catch2 from `47d56f2` to `dc001fa` (#1357)
Bumps [external/Catch2](https://github.com/catchorg/Catch2) from `47d56f2` to `dc001fa`.
- [Release notes](https://github.com/catchorg/Catch2/releases)
- [Commits](47d56f28a9...dc001fa935)

---
updated-dependencies:
- dependency-name: external/Catch2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 09:20:52 -07:00
dependabot[bot] f5b1b85a1f
Update actions/checkout requirement to 2541b1294d2704b0964813337f33b291d3f8596b (#1356)
Updates the requirements on [actions/checkout](https://github.com/actions/checkout) to permit the latest version.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](2541b1294d)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 09:13:48 -06:00
dependabot[bot] cb298fdbc2
Bump microsoft/setup-msbuild (#1359)
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from becb80cf9a036187bb1e07e74eb64e25850d757a to 1.1. This release includes the previously tagged commit.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/master/building-release.md)
- [Commits](becb80cf9a...ab534842b4)

---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-21 10:08:18 -07:00
dependabot[bot] 75000b1845
Bump step-security/harden-runner from 1.4.4 to 1.4.5 (#1335)
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 1.4.4 to 1.4.5.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](74b568e859...dd2c410b08)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-08-20 08:35:16 -07:00
Alan Jowett 867f669781
Move preemptible check outside of spinlock region. (#1350)
Move setting thread affinity outside of spinlock region.

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
2022-08-19 08:54:37 -07:00
dependabot[bot] 5e56ae3d12
Bump actions/cache from 3.0.6 to 3.0.7 (#1334)
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](f4278025ab...a7c34adf76)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-08-16 16:57:07 -07:00
Dave Thaler c5d665b764
Fix LLVM guidance in Getting Started (#1331)
Fixes #1181

Signed-off-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Co-authored-by: Alan Jowett <alanjo@microsoft.com>
2022-08-16 15:52:24 -07:00
Alan Jowett a2a128a3eb
Fix issued that caused epoch to not cleanup (#1332)
* Fix issued that caused epoch to not cleanup

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* PR feedback

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* PR feedbac

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Update libs/platform/ebpf_epoch.c

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* Update libs/platform/ebpf_epoch.c

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* Update libs/platform/ebpf_epoch.c

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

* Update libs/platform/ebpf_epoch.c

Co-authored-by: Dave Thaler <dthaler@microsoft.com>

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Dave Thaler <dthaler@microsoft.com>
2022-08-16 15:05:49 -07:00