Enable commonly used DRM/FB drivers for VMs. We may need to enable more
DRM drivers later but for now, just enabled these VM drivers.
Also update changelog. Latest OC public iso is already using OC 5.4
kernel as default kernel.
Signed-off-by: Kairui Song <kasong@tencent.com>
libperf-jvmti.so doesn't build in tmanager.
Add a dummy libperf-jvmti.so in perf to compat two system.
Signed-off-by: Haisu Wang <haisuwang@tencent.com>
Remove the duplicate files from kernel-tools/bpftools but
included by perf.
Keep the python2, python-perf name and libraries location
for backward compatibility.
Signed-off-by: Haisu Wang <haisuwang@tencent.com>
Add %{_mandir}/man7/bpf-helpers.7.gz to solve
the bug with kernel.
Signed-off-by: Honglin Li <honglinli@tencent.com>
Reviewed-by: Haisu Wang <haisuwang@tencent.com>
Tmanager generates tag to build kernel when branch specified.
The tag starts with x86, which leads to the build process failing
to parse the tag.
Modify the generate-rpms.sh to support building with "x86-*" tags.
Signed-off-by: Yushan Zhou <katrinzhou@tencent.com>
Hyperv is a native hypervisor that can create virtual machine on x86-64
platform. Enable all hyperv configurations for linux, then it can run
on windows hyperv.
Signed-off-by: Bin Lai <robinlai@tencent.com>
tl2 release system using repackage trick instead of full tl2
env to build kernel and other packages from scratch.
Update the perf tools spec to support build bpftool with
perf and kernel tools.
Signed-off-by: Haisu Wang <haisuwang@tencent.com>
The bash script mkmakefile generates Makefile which includes itself.
It leads to dead cycle when build rpm packages.
Signed-off-by: Yushan Zhou <katrinzhou@tencent.com>
ZRAM is a memory compression method that used for anon swap out/in,
it could help system reclaim more free memory when the applications
have consumed too much memory. So we introduce the ZRAM by kernel
modules, user could insmod it as needed.
Signed-off-by: Bin Lai <robinlai@tencent.com>
Reviewed-by: Bauerchen <bauerchen@tencent.com>
BPF CO-RE applications like libbpf are need kernel
headers with all types, so it require BTF type
information built-in.
CONFIG_DEBUG_INFO_BTF have already enabled in x86_64,
enable in aarch64 to align.
Signed-off-by: Haisu Wang <haisuwang@tencent.com>
generate-rpms.sh add parse parameters 'k' for build config of type.
usage: generate-rpms.sh -k config_type
config type is 'kasan' or 'nosign'.
Signed-off-by: kidzhang <kidzhang@tencent.com>
SLI is used for cgroup performance monitoring, but it is not
necessary for some cases(such as running the linux without
cgroups on the embedded device). Therefor we add this
configuration to decide whether package SLI into kernel or not.
Signed-off-by: Bin Lai <robinlai@tencent.com>
When running kmemleak , it will cost much CPU.
So, disable the auto scan of kmemleak, trigger kmemleak scan by manual if needed.
Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
This option enables a transparent branch optimization that
makes certain almost-always-true or almost-always-false branch
conditions even cheaper to execute within the kernel.
CONFIG_BLK_DEV_RAM=y will create /dev/ram* by default which is unneeded,
just make it a module, ram block devices can still be created with
modprobe.
Signed-off-by: Kairui Song <kasong@tencent.com>
export files such as cpuinfo, meminfo, stat and so on, which can by used
by containers.
Signed-off-by: caelli <caelli@tencent.com>
Reviewed-by: Peng Hao <flyingpeng@tencent.com>
Reviewed-by: Bin Lai <robinlai@tencent.com>
add check-kabi scripts
add -c option to enable kabi check in generate script(x86 version)
add kabi Modver for arch x86_64 in gcc 8.3.1 version
Signed-off-by: Denise Cheng <denisecheng@tencent.com>
Signed-off-by: Fuhai Wang <Fuhaiwang@tencent.com>