[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH RFC v3 0/8] kernel-hacking: introduce CONFIG_NO_AUTO_INLINE
This series introduces a new kernel configuration option NO_AUTO_INLINE, which can be used to disable the automatic inlining of functions. This will allow the function tracer to trace more functions because it only traces functions that the compiler has not inlined. Previous discussions can be found at Link: https://lore.kernel.org/all/20181028130945.23581-3-changbin.du@xxxxxxxxx/ This patch depends on [PATCH] drm/i915/pxp: fix undefined reference to `intel_pxp_gsccs_is_ready_for_sessions' which can be found at https://lore.kernel.org/all/20250415090616.2649889-1-jani.nikula@xxxxxxxxx/ as well as [RFC PATCH 5/7] RDMA/hns: initialize db in update_srq_db() which can be found at https://lore.kernel.org/all/FF922C77946229B6+20250411105459.90782-5-chenlinxuan@xxxxxxxxxxxxx/ Signed-off-by: Chen Linxuan <chenlinxuan@xxxxxxxxxxxxx> --- Changes in v3: - Fix some modpost and objtool warnings - Try support clang as Bart Van Assche suggested. - Remove architecture depends as Bart Van Assche suggested. - Link to v2: https://lore.kernel.org/r/20250416-noautoinline-v2-0-e69a2717530f@xxxxxxxxxxxxx Changes in v2: - Resend via b4 to correct Message-ID and recipients. - Update commit message following suggestions from Jarkko Sakkinen - Link to v1: https://lore.kernel.org/r/31F42D8141CDD2D0+20250411105142.89296-1-chenlinxuan@xxxxxxxxxxxxx --- Chen Linxuan (4): rseq: add __always_inline for rseq_kernel_fields kcov: add __always_inline for canonicalize_ip x86/xen: add __init for xen_pgd_walk lib/Kconfig.debug: introduce CONFIG_NO_AUTO_INLINE Winston Wen (4): nvme: add __always_inline for nvme_pci_npages_prp mm: add __always_inline for page_contains_unaccepted vfio/virtio: add __always_inline for virtiovf_get_device_config_size tpm: add __always_inline for tpm_is_hwrng_enabled Makefile | 16 ++++++++++++++++ arch/x86/xen/mmu_pv.c | 2 +- drivers/char/tpm/tpm-chip.c | 2 +- drivers/nvme/host/pci.c | 2 +- drivers/vfio/pci/virtio/legacy_io.c | 2 +- kernel/kcov.c | 2 +- kernel/rseq.c | 2 +- lib/Kconfig.debug | 21 +++++++++++++++++++++ lib/Makefile | 3 +++ mm/page_alloc.c | 2 +- 10 files changed, 47 insertions(+), 7 deletions(-) --- base-commit: ca91b9500108d4cf083a635c2e11c884d5dd20ea change-id: 20250416-noautoinline-8e9b9e535452 Best regards, -- Chen Linxuan <chenlinxuan@xxxxxxxxxxxxx>
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |