Skip to content

Commit 955bb43

Browse files
authored
Enable CONFIG_FTRACE_SYSCALLS for kernel-mshv (#15451)
Signed-off-by: Roaa Sakr <romoh@microsoft.com>
1 parent 581b773 commit 955bb43

4 files changed

Lines changed: 12 additions & 5 deletions

File tree

SPECS-SIGNED/kernel-mshv-signed/kernel-mshv-signed.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Summary: Signed MSHV-enabled Linux Kernel for %{buildarch} systems
1111
Name: kernel-mshv-signed-%{buildarch}
1212
Version: 6.6.100.mshv1
13-
Release: 2%{?dist}
13+
Release: 3%{?dist}
1414
License: GPLv2
1515
Vendor: Microsoft Corporation
1616
Distribution: Azure Linux
@@ -140,6 +140,9 @@ echo "initrd of kernel %{uname_r} removed" >&2
140140
%exclude /lib/modules/%{uname_r}/build
141141

142142
%changelog
143+
* Mon Jan 06 2026 Roaa Sakr <romoh@microsoft.com> - 6.6.100.mshv1-3
144+
- Enable ftrace syscalls tracing support in kernel config
145+
143146
* Wed Oct 22 2025 Saul Paredes <saulparedes@microsoft.com> - 6.6.100.mshv1-2
144147
- Enable build on aarch64
145148

SPECS/kernel-mshv/config

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7379,6 +7379,7 @@ CONFIG_RING_BUFFER=y
73797379
CONFIG_EVENT_TRACING=y
73807380
CONFIG_CONTEXT_SWITCH_TRACER=y
73817381
CONFIG_TRACING=y
7382+
CONFIG_GENERIC_TRACER=y
73827383
CONFIG_TRACING_SUPPORT=y
73837384
CONFIG_FTRACE=y
73847385
# CONFIG_BOOTTIME_TRACING is not set
@@ -7390,8 +7391,7 @@ CONFIG_FTRACE=y
73907391
# CONFIG_OSNOISE_TRACER is not set
73917392
# CONFIG_TIMERLAT_TRACER is not set
73927393
# CONFIG_MMIOTRACE is not set
7393-
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
7394-
# CONFIG_FTRACE_SYSCALLS is not set
7394+
CONFIG_FTRACE_SYSCALLS=y
73957395
# CONFIG_TRACER_SNAPSHOT is not set
73967396
CONFIG_BRANCH_PROFILE_NONE=y
73977397
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
@@ -7410,6 +7410,7 @@ CONFIG_PROBE_EVENTS=y
74107410
# CONFIG_TRACEPOINT_BENCHMARK is not set
74117411
# CONFIG_RING_BUFFER_BENCHMARK is not set
74127412
# CONFIG_TRACE_EVAL_MAP_FILE is not set
7413+
# CONFIG_FTRACE_STARTUP_TEST is not set
74137414
# CONFIG_RING_BUFFER_STARTUP_TEST is not set
74147415
# CONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS is not set
74157416
# CONFIG_PREEMPTIRQ_DELAY_TEST is not set

SPECS/kernel-mshv/kernel-mshv.signatures.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"50_mariner_mshv.cfg": "12bf23f8857f893549933a20062ad2a69c3c654b87893e8dd3ce42f9329801c7",
44
"50_mariner_mshv_menuentry": "5a46bb273be0e829fec4e1f498b1a11b59ded6e14d42a19be7da860c3f4c35be",
55
"cbl-mariner-ca-20211013.pem": "5ef124b0924cb1047c111a0ecff1ae11e6ad7cac8d1d9b40f98f99334121f0b0",
6-
"config": "544925b5fdc925b8abcc44f497ac65c89381dfac8ee0a1ef6a178beab94cf879",
6+
"config": "8ce3731fe06abb3fcf51942bb680ee425fac59de76818ac5491d53553550e2f5",
77
"kernel-mshv-6.6.100.mshv1.tar.gz": "4ea7cd612712401f2537fdeb12ebb28373532c11f649ebcd1b7c5c39af839893",
88
"config_aarch64": "a1ce617173428aa4c5b89ccfbe35705ed6dc53521b26590328a7a4f81aefb404"
99
}

SPECS/kernel-mshv/kernel-mshv.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
Summary: Mariner kernel that has MSHV Host support
1919
Name: kernel-mshv
2020
Version: 6.6.100.mshv1
21-
Release: 2%{?dist}
21+
Release: 3%{?dist}
2222
License: GPLv2
2323
Group: Development/Tools
2424
Vendor: Microsoft Corporation
@@ -267,6 +267,9 @@ echo "initrd of kernel %{uname_r} removed" >&2
267267
%{_includedir}/perf/perf_dlfilter.h
268268

269269
%changelog
270+
* Mon Jan 06 2026 Roaa Sakr <romoh@microsoft.com> - 6.6.100.mshv1-3
271+
- Enable ftrace syscalls tracing support in kernel config
272+
270273
* Wed Oct 08 2025 Saul Paredes <saulparedes@microsoft.com> - 6.6.100.mshv1-2
271274
- Enable build on aarch64
272275

0 commit comments

Comments
 (0)