Skip to content

Commit 197e036

Browse files
committed
Upgrade to 6.2 kernel. Enable DAMON, tcm_loop, target_core_user
1 parent 797d972 commit 197e036

File tree

3 files changed

+775
-404
lines changed

3 files changed

+775
-404
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
data
2-
vmlinux
2+
vmlinux*

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ RUN apt-get update \
1414
libssl-dev \
1515
libelf-dev \
1616
&& rm -rf /var/lib/apt/lists/*
17-
RUN wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.tar.xz
18-
RUN tar xf linux-5.10.tar.xz
17+
RUN wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.2.tar.xz
18+
RUN tar xf linux-6.2.tar.xz
1919
## For it to build on too new binutils
2020
COPY fix-build.patch .
21-
COPY kernel-config.txt linux-5.10/.config
22-
RUN cd linux-5.10 && patch -p1 < ../fix-build.patch && make -j8 vmlinux
21+
COPY kernel-config.txt linux-6.2/.config
22+
RUN cd linux-6.2 && make -j8 vmlinux
2323

2424
FROM scratch
25-
COPY --from=builder /build/linux-5.10/vmlinux /vmlinux
25+
COPY --from=builder /build/linux-6.2/vmlinux /vmlinux
26+

0 commit comments

Comments
 (0)