Skip to content

Commit

Permalink
Release v0.11.0 (#2846)
Browse files Browse the repository at this point in the history
* Update version to 0.11.0

* Revert formatting rule.
  • Loading branch information
gtrevi authored Sep 12, 2023
1 parent a0ce3b9 commit 59587f3
Show file tree
Hide file tree
Showing 141 changed files with 2,242 additions and 2,245 deletions.
7 changes: 2 additions & 5 deletions docs/ReleaseProcess.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,9 @@ Servicing a release has two main scenarios:
git mergetool
```
1. Verify all the changes then commit all in the working branch.
>NOTE: The formatting rules may complain about the formatting of the generated `.c` files from the script above. In this case, format them with the following:
>NOTE: The formatting rules may complain about the formatting of the generated `.c` files from the script above. In this case, override them with the following:
>```bash
># In bash
>./scripts/format-code --staged
># In PowerShell
>.\\scripts\\format-code.ps1 --staged
>git commit --no-verify
>```
1. Create a **Draft** pull-request for your working branch into the main repo's "`release/X.Y`" branch, and title the PR as *"Release v`X.Y.Z`"* (replace "`X.Y.Z`" with the version number being released).
1. Wait for the CI/CD pipeline for the PR to complete successfully.
Expand Down
2 changes: 1 addition & 1 deletion installer/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT
<?define ProductVersion="022C44B5-8969-4B75-8DB0-73F98B1BD7DC"?>
<?define UpgradeCode="B6BCACB1-C872-4159-ABCB-43A50668056C"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:ui="http://schemas.microsoft.com/wix/UIExtension" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Product Id="$(var.ProductVersion)" Name="eBPF for Windows" Language="1033" Version="0.10.0" Manufacturer="Microsoft" UpgradeCode="$(var.UpgradeCode)">
<Product Id="$(var.ProductVersion)" Name="eBPF for Windows" Language="1033" Version="0.11.0" Manufacturer="Microsoft" UpgradeCode="$(var.UpgradeCode)">
<Package Description="eBPF for Windows" InstallerVersion="301" Compressed="yes" InstallScope="perMachine" Manufacturer="Microsoft" Platform="x64" />
<MajorUpgrade AllowSameVersionUpgrades="yes"
Disallow="yes" DisallowUpgradeErrorMessage="An older version of [ProductName] is already installed. Please remove it first."
Expand Down
2 changes: 1 addition & 1 deletion resource/ebpf_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: MIT

#define EBPF_VERSION_MAJOR 0
#define EBPF_VERSION_MINOR 10
#define EBPF_VERSION_MINOR 11
#define EBPF_VERSION_REVISION 0

#define QUOTE(str) #str
Expand Down
6 changes: 3 additions & 3 deletions tests/bpf2c_tests/expected/atomic_instruction_fetch_add_dll.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ func(void* context)
if ((func_helpers[0].tail_call) && (r0 == 0))
#line 27 "sample/atomic_instruction_fetch_add.c"
return 0;
// EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=2 imm=0
// EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=2 imm=0
#line 28 "sample/atomic_instruction_fetch_add.c"
if (r0 == IMMEDIATE(0))
#line 28 "sample/atomic_instruction_fetch_add.c"
goto label_1;
// EBPF_OP_MOV64_IMM pc=8 dst=r1 src=r0 offset=0 imm=1
// EBPF_OP_MOV64_IMM pc=8 dst=r1 src=r0 offset=0 imm=1
#line 28 "sample/atomic_instruction_fetch_add.c"
r1 = IMMEDIATE(1);
// EBPF_OP_ATOMIC64_ADD pc=9 dst=r0 src=r1 offset=0 imm=0
Expand Down Expand Up @@ -178,7 +178,7 @@ static void
_get_version(_Out_ bpf2c_version_t* version)
{
version->major = 0;
version->minor = 10;
version->minor = 11;
version->revision = 0;
}

Expand Down
6 changes: 3 additions & 3 deletions tests/bpf2c_tests/expected/atomic_instruction_fetch_add_raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ func(void* context)
if ((func_helpers[0].tail_call) && (r0 == 0))
#line 27 "sample/atomic_instruction_fetch_add.c"
return 0;
// EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=2 imm=0
// EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=2 imm=0
#line 28 "sample/atomic_instruction_fetch_add.c"
if (r0 == IMMEDIATE(0))
#line 28 "sample/atomic_instruction_fetch_add.c"
goto label_1;
// EBPF_OP_MOV64_IMM pc=8 dst=r1 src=r0 offset=0 imm=1
// EBPF_OP_MOV64_IMM pc=8 dst=r1 src=r0 offset=0 imm=1
#line 28 "sample/atomic_instruction_fetch_add.c"
r1 = IMMEDIATE(1);
// EBPF_OP_ATOMIC64_ADD pc=9 dst=r0 src=r1 offset=0 imm=0
Expand Down Expand Up @@ -152,7 +152,7 @@ static void
_get_version(_Out_ bpf2c_version_t* version)
{
version->major = 0;
version->minor = 10;
version->minor = 11;
version->revision = 0;
}

Expand Down
6 changes: 3 additions & 3 deletions tests/bpf2c_tests/expected/atomic_instruction_fetch_add_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,12 @@ func(void* context)
if ((func_helpers[0].tail_call) && (r0 == 0))
#line 27 "sample/atomic_instruction_fetch_add.c"
return 0;
// EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=2 imm=0
// EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=2 imm=0
#line 28 "sample/atomic_instruction_fetch_add.c"
if (r0 == IMMEDIATE(0))
#line 28 "sample/atomic_instruction_fetch_add.c"
goto label_1;
// EBPF_OP_MOV64_IMM pc=8 dst=r1 src=r0 offset=0 imm=1
// EBPF_OP_MOV64_IMM pc=8 dst=r1 src=r0 offset=0 imm=1
#line 28 "sample/atomic_instruction_fetch_add.c"
r1 = IMMEDIATE(1);
// EBPF_OP_ATOMIC64_ADD pc=9 dst=r0 src=r1 offset=0 imm=0
Expand Down Expand Up @@ -313,7 +313,7 @@ static void
_get_version(_Out_ bpf2c_version_t* version)
{
version->major = 0;
version->minor = 10;
version->minor = 11;
version->revision = 0;
}

Expand Down
2 changes: 1 addition & 1 deletion tests/bpf2c_tests/expected/atomic_instruction_others_dll.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ static void
_get_version(_Out_ bpf2c_version_t* version)
{
version->major = 0;
version->minor = 10;
version->minor = 11;
version->revision = 0;
}

Expand Down
2 changes: 1 addition & 1 deletion tests/bpf2c_tests/expected/atomic_instruction_others_raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ static void
_get_version(_Out_ bpf2c_version_t* version)
{
version->major = 0;
version->minor = 10;
version->minor = 11;
version->revision = 0;
}

Expand Down
2 changes: 1 addition & 1 deletion tests/bpf2c_tests/expected/atomic_instruction_others_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ static void
_get_version(_Out_ bpf2c_version_t* version)
{
version->major = 0;
version->minor = 10;
version->minor = 11;
version->revision = 0;
}

Expand Down
6 changes: 3 additions & 3 deletions tests/bpf2c_tests/expected/bad_map_name_dll.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ lookup(void* context)
if ((lookup_helpers[0].tail_call) && (r0 == 0))
#line 28 "sample/bad_map_name.c"
return 0;
// EBPF_OP_MOV64_REG pc=7 dst=r1 src=r0 offset=0 imm=0
// EBPF_OP_MOV64_REG pc=7 dst=r1 src=r0 offset=0 imm=0
#line 28 "sample/bad_map_name.c"
r1 = r0;
// EBPF_OP_MOV64_IMM pc=8 dst=r0 src=r0 offset=0 imm=1
Expand All @@ -136,7 +136,7 @@ lookup(void* context)
if (r1 == IMMEDIATE(0))
#line 29 "sample/bad_map_name.c"
goto label_1;
// EBPF_OP_MOV64_IMM pc=10 dst=r0 src=r0 offset=0 imm=0
// EBPF_OP_MOV64_IMM pc=10 dst=r0 src=r0 offset=0 imm=0
#line 29 "sample/bad_map_name.c"
r0 = IMMEDIATE(0);
label_1:
Expand Down Expand Up @@ -178,7 +178,7 @@ static void
_get_version(_Out_ bpf2c_version_t* version)
{
version->major = 0;
version->minor = 10;
version->minor = 11;
version->revision = 0;
}

Expand Down
6 changes: 3 additions & 3 deletions tests/bpf2c_tests/expected/bad_map_name_raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ lookup(void* context)
if ((lookup_helpers[0].tail_call) && (r0 == 0))
#line 28 "sample/bad_map_name.c"
return 0;
// EBPF_OP_MOV64_REG pc=7 dst=r1 src=r0 offset=0 imm=0
// EBPF_OP_MOV64_REG pc=7 dst=r1 src=r0 offset=0 imm=0
#line 28 "sample/bad_map_name.c"
r1 = r0;
// EBPF_OP_MOV64_IMM pc=8 dst=r0 src=r0 offset=0 imm=1
Expand All @@ -110,7 +110,7 @@ lookup(void* context)
if (r1 == IMMEDIATE(0))
#line 29 "sample/bad_map_name.c"
goto label_1;
// EBPF_OP_MOV64_IMM pc=10 dst=r0 src=r0 offset=0 imm=0
// EBPF_OP_MOV64_IMM pc=10 dst=r0 src=r0 offset=0 imm=0
#line 29 "sample/bad_map_name.c"
r0 = IMMEDIATE(0);
label_1:
Expand Down Expand Up @@ -152,7 +152,7 @@ static void
_get_version(_Out_ bpf2c_version_t* version)
{
version->major = 0;
version->minor = 10;
version->minor = 11;
version->revision = 0;
}

Expand Down
6 changes: 3 additions & 3 deletions tests/bpf2c_tests/expected/bad_map_name_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ lookup(void* context)
if ((lookup_helpers[0].tail_call) && (r0 == 0))
#line 28 "sample/bad_map_name.c"
return 0;
// EBPF_OP_MOV64_REG pc=7 dst=r1 src=r0 offset=0 imm=0
// EBPF_OP_MOV64_REG pc=7 dst=r1 src=r0 offset=0 imm=0
#line 28 "sample/bad_map_name.c"
r1 = r0;
// EBPF_OP_MOV64_IMM pc=8 dst=r0 src=r0 offset=0 imm=1
Expand All @@ -271,7 +271,7 @@ lookup(void* context)
if (r1 == IMMEDIATE(0))
#line 29 "sample/bad_map_name.c"
goto label_1;
// EBPF_OP_MOV64_IMM pc=10 dst=r0 src=r0 offset=0 imm=0
// EBPF_OP_MOV64_IMM pc=10 dst=r0 src=r0 offset=0 imm=0
#line 29 "sample/bad_map_name.c"
r0 = IMMEDIATE(0);
label_1:
Expand Down Expand Up @@ -313,7 +313,7 @@ static void
_get_version(_Out_ bpf2c_version_t* version)
{
version->major = 0;
version->minor = 10;
version->minor = 11;
version->revision = 0;
}

Expand Down
Loading

0 comments on commit 59587f3

Please sign in to comment.