mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-21 23:16:50 +08:00
Merge tag 'perf-tools-fixes-for-v7.0-1-2026-03-13' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools
Pull perf tools fixes from Arnaldo Carvalho de Melo:
- Fix stale build ID in module MMAP2 records in events synthesized for
pre-existing processes
- Fix rust cross compilation
- hashmap__new() error pointer return handling fixes
- Fix off-by-one bug in outside of functions check on the disasm code
- Update header copies of kernel headers, including prctl.h, mount.h,
fs.h, irq_vectors.h, perf_event.h, gfp_types.h, kvm.h, cpufeatures.h
msr-index.h, also the syscall tables files that introduced the
'rseq_slice_yield' syscall
- Finish removal of ETM_OPT_* on the ARM coresight support, needed to
sync the coresight-pmu.h header with the kernel sources
- Make in-target rule robust against too long argument error
* tag 'perf-tools-fixes-for-v7.0-1-2026-03-13' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools: (22 commits)
perf synthetic-events: Fix stale build ID in module MMAP2 records
perf annotate loongarch: Fix off-by-one bug in outside check
perf ftrace: Fix hashmap__new() error checking
perf annotate: Fix hashmap__new() error checking
perf cs-etm: Sync coresight-pmu.h header with the kernel sources
perf cs-etm: Finish removal of ETM_OPT_*
tools headers UAPI: Update tools' copy of linux/coresight-pmu.h
tools headers: Update the syscall tables and unistd.h, to support the new 'rseq_slice_yield' syscall
perf disasm: Fix off-by-one bug in outside check
tools arch x86: Sync msr-index.h to pick MSR_{OMR_[0-3],CORE_PERF_GLOBAL_STATUS_SET}
tools headers UAPI: Sync x86's asm/kvm.h with the kernel sources
tools headers x86 cpufeatures: Sync with the kernel sources
tools headers UAPI: Sync linux/kvm.h with the kernel sources
tools headers: Update the linux/gfp_types.h copy with the kernel sources
perf beauty: Update the linux/perf_event.h copy with the kernel sources
perf beauty: Update the arch/x86/include/asm/irq_vectors.h copy with the kernel sources
perf beauty: Sync UAPI linux/fs.h with kernel sources
perf beauty: Sync linux/mount.h copy with the kernel sources
tools build: Fix rust cross compilation
perf build: Prevent "argument list too long" error
...
This commit is contained in:
@@ -110,7 +110,7 @@ union ibs_op_data3 {
|
||||
__u64 ld_op:1, /* 0: load op */
|
||||
st_op:1, /* 1: store op */
|
||||
dc_l1tlb_miss:1, /* 2: data cache L1TLB miss */
|
||||
dc_l2tlb_miss:1, /* 3: data cache L2TLB hit in 2M page */
|
||||
dc_l2tlb_miss:1, /* 3: data cache L2TLB miss in 2M page */
|
||||
dc_l1tlb_hit_2m:1, /* 4: data cache L1TLB hit in 2M page */
|
||||
dc_l1tlb_hit_1g:1, /* 5: data cache L1TLB hit in 1G page */
|
||||
dc_l2tlb_hit_2m:1, /* 6: data cache L2TLB hit in 2M page */
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
#define X86_FEATURE_PEBS ( 3*32+12) /* "pebs" Precise-Event Based Sampling */
|
||||
#define X86_FEATURE_BTS ( 3*32+13) /* "bts" Branch Trace Store */
|
||||
#define X86_FEATURE_SYSCALL32 ( 3*32+14) /* syscall in IA32 userspace */
|
||||
#define X86_FEATURE_SYSENTER32 ( 3*32+15) /* sysenter in IA32 userspace */
|
||||
#define X86_FEATURE_SYSFAST32 ( 3*32+15) /* sysenter/syscall in IA32 userspace */
|
||||
#define X86_FEATURE_REP_GOOD ( 3*32+16) /* "rep_good" REP microcode works well */
|
||||
#define X86_FEATURE_AMD_LBR_V2 ( 3*32+17) /* "amd_lbr_v2" AMD Last Branch Record Extension Version 2 */
|
||||
#define X86_FEATURE_CLEAR_CPU_BUF ( 3*32+18) /* Clear CPU buffers using VERW */
|
||||
@@ -326,6 +326,7 @@
|
||||
#define X86_FEATURE_AMX_FP16 (12*32+21) /* AMX fp16 Support */
|
||||
#define X86_FEATURE_AVX_IFMA (12*32+23) /* Support for VPMADD52[H,L]UQ */
|
||||
#define X86_FEATURE_LAM (12*32+26) /* "lam" Linear Address Masking */
|
||||
#define X86_FEATURE_MOVRS (12*32+31) /* MOVRS instructions */
|
||||
|
||||
/* AMD-defined CPU features, CPUID level 0x80000008 (EBX), word 13 */
|
||||
#define X86_FEATURE_CLZERO (13*32+ 0) /* "clzero" CLZERO instruction */
|
||||
@@ -472,6 +473,7 @@
|
||||
#define X86_FEATURE_GP_ON_USER_CPUID (20*32+17) /* User CPUID faulting */
|
||||
|
||||
#define X86_FEATURE_PREFETCHI (20*32+20) /* Prefetch Data/Instruction to Cache Level */
|
||||
#define X86_FEATURE_ERAPS (20*32+24) /* Enhanced Return Address Predictor Security */
|
||||
#define X86_FEATURE_SBPB (20*32+27) /* Selective Branch Prediction Barrier */
|
||||
#define X86_FEATURE_IBPB_BRTYPE (20*32+28) /* MSR_PRED_CMD[IBPB] flushes all branch type predictions */
|
||||
#define X86_FEATURE_SRSO_NO (20*32+29) /* CPU is not affected by SRSO */
|
||||
|
||||
@@ -263,6 +263,11 @@
|
||||
#define MSR_SNOOP_RSP_0 0x00001328
|
||||
#define MSR_SNOOP_RSP_1 0x00001329
|
||||
|
||||
#define MSR_OMR_0 0x000003e0
|
||||
#define MSR_OMR_1 0x000003e1
|
||||
#define MSR_OMR_2 0x000003e2
|
||||
#define MSR_OMR_3 0x000003e3
|
||||
|
||||
#define MSR_LBR_SELECT 0x000001c8
|
||||
#define MSR_LBR_TOS 0x000001c9
|
||||
|
||||
@@ -1219,6 +1224,7 @@
|
||||
#define MSR_CORE_PERF_GLOBAL_STATUS 0x0000038e
|
||||
#define MSR_CORE_PERF_GLOBAL_CTRL 0x0000038f
|
||||
#define MSR_CORE_PERF_GLOBAL_OVF_CTRL 0x00000390
|
||||
#define MSR_CORE_PERF_GLOBAL_STATUS_SET 0x00000391
|
||||
|
||||
#define MSR_PERF_METRICS 0x00000329
|
||||
|
||||
|
||||
@@ -503,6 +503,7 @@ struct kvm_sync_regs {
|
||||
#define KVM_X86_GRP_SEV 1
|
||||
# define KVM_X86_SEV_VMSA_FEATURES 0
|
||||
# define KVM_X86_SNP_POLICY_BITS 1
|
||||
# define KVM_X86_SEV_SNP_REQ_CERTS 2
|
||||
|
||||
struct kvm_vmx_nested_state_data {
|
||||
__u8 vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE];
|
||||
@@ -743,6 +744,7 @@ enum sev_cmd_id {
|
||||
KVM_SEV_SNP_LAUNCH_START = 100,
|
||||
KVM_SEV_SNP_LAUNCH_UPDATE,
|
||||
KVM_SEV_SNP_LAUNCH_FINISH,
|
||||
KVM_SEV_SNP_ENABLE_REQ_CERTS,
|
||||
|
||||
KVM_SEV_NR_MAX,
|
||||
};
|
||||
@@ -914,8 +916,10 @@ struct kvm_sev_snp_launch_finish {
|
||||
__u64 pad1[4];
|
||||
};
|
||||
|
||||
#define KVM_X2APIC_API_USE_32BIT_IDS (1ULL << 0)
|
||||
#define KVM_X2APIC_API_DISABLE_BROADCAST_QUIRK (1ULL << 1)
|
||||
#define KVM_X2APIC_API_USE_32BIT_IDS _BITULL(0)
|
||||
#define KVM_X2APIC_API_DISABLE_BROADCAST_QUIRK _BITULL(1)
|
||||
#define KVM_X2APIC_ENABLE_SUPPRESS_EOI_BROADCAST _BITULL(2)
|
||||
#define KVM_X2APIC_DISABLE_SUPPRESS_EOI_BROADCAST _BITULL(3)
|
||||
|
||||
struct kvm_hyperv_eventfd {
|
||||
__u32 conn_id;
|
||||
|
||||
@@ -98,6 +98,15 @@ c_flags_2 = $(filter-out $(CFLAGS_REMOVE_$(basetarget).o), $(c_flags_1))
|
||||
c_flags = $(filter-out $(CFLAGS_REMOVE_$(obj)), $(c_flags_2))
|
||||
cxx_flags = -Wp,-MD,$(depfile) -Wp,-MT,$@ $(CXXFLAGS) -D"BUILD_STR(s)=\#s" $(CXXFLAGS_$(basetarget).o) $(CXXFLAGS_$(obj))
|
||||
|
||||
###
|
||||
# Rust flags to be used on rule definition, includes:
|
||||
# - global $(RUST_FLAGS)
|
||||
# - per target Rust flags
|
||||
# - per object Rust flags
|
||||
rust_flags_1 = $(RUST_FLAGS) $(RUST_FLAGS_$(basetarget).o) $(RUST_FLAGS_$(obj))
|
||||
rust_flags_2 = $(filter-out $(RUST_FLAGS_REMOVE_$(basetarget).o), $(rust_flags_1))
|
||||
rust_flags = $(filter-out $(RUST_FLAGS_REMOVE_$(obj)), $(rust_flags_2))
|
||||
|
||||
###
|
||||
## HOSTCC C flags
|
||||
|
||||
|
||||
@@ -70,11 +70,13 @@ quiet_cmd_gen = GEN $@
|
||||
# If there's nothing to link, create empty $@ object.
|
||||
quiet_cmd_ld_multi = LD $@
|
||||
cmd_ld_multi = $(if $(strip $(obj-y)),\
|
||||
$(LD) -r -o $@ $(filter $(obj-y),$^),rm -f $@; $(AR) rcs $@)
|
||||
printf "$(objprefix)%s " $(patsubst $(objprefix)%,%,$(filter $(obj-y),$^)) | \
|
||||
xargs $(LD) -r -o $@,rm -f $@; $(AR) rcs $@)
|
||||
|
||||
quiet_cmd_host_ld_multi = HOSTLD $@
|
||||
cmd_host_ld_multi = $(if $(strip $(obj-y)),\
|
||||
$(HOSTLD) -r -o $@ $(filter $(obj-y),$^),rm -f $@; $(HOSTAR) rcs $@)
|
||||
printf "$(objprefix)%s " $(patsubst $(objprefix)%,%,$(filter $(obj-y),$^)) | \
|
||||
xargs $(HOSTLD) -r -o $@,rm -f $@; $(HOSTAR) rcs $@)
|
||||
|
||||
rust_common_cmd = \
|
||||
$(RUSTC) $(rust_flags) \
|
||||
|
||||
@@ -21,30 +21,6 @@
|
||||
*/
|
||||
#define CORESIGHT_LEGACY_CPU_TRACE_ID(cpu) (0x10 + (cpu * 2))
|
||||
|
||||
/*
|
||||
* Below are the definition of bit offsets for perf option, and works as
|
||||
* arbitrary values for all ETM versions.
|
||||
*
|
||||
* Most of them are orignally from ETMv3.5/PTM's ETMCR config, therefore,
|
||||
* ETMv3.5/PTM doesn't define ETMCR config bits with prefix "ETM3_" and
|
||||
* directly use below macros as config bits.
|
||||
*/
|
||||
#define ETM_OPT_BRANCH_BROADCAST 8
|
||||
#define ETM_OPT_CYCACC 12
|
||||
#define ETM_OPT_CTXTID 14
|
||||
#define ETM_OPT_CTXTID2 15
|
||||
#define ETM_OPT_TS 28
|
||||
#define ETM_OPT_RETSTK 29
|
||||
|
||||
/* ETMv4 CONFIGR programming bits for the ETM OPTs */
|
||||
#define ETM4_CFG_BIT_BB 3
|
||||
#define ETM4_CFG_BIT_CYCACC 4
|
||||
#define ETM4_CFG_BIT_CTXTID 6
|
||||
#define ETM4_CFG_BIT_VMID 7
|
||||
#define ETM4_CFG_BIT_TS 11
|
||||
#define ETM4_CFG_BIT_RETSTK 12
|
||||
#define ETM4_CFG_BIT_VMID_OPT 15
|
||||
|
||||
/*
|
||||
* Interpretation of the PERF_RECORD_AUX_OUTPUT_HW_ID payload.
|
||||
* Used to associate a CPU with the CoreSight Trace ID.
|
||||
|
||||
@@ -139,6 +139,8 @@ enum {
|
||||
* %__GFP_ACCOUNT causes the allocation to be accounted to kmemcg.
|
||||
*
|
||||
* %__GFP_NO_OBJ_EXT causes slab allocation to have no object extension.
|
||||
* mark_obj_codetag_empty() should be called upon freeing for objects allocated
|
||||
* with this flag to indicate that their NULL tags are expected and normal.
|
||||
*/
|
||||
#define __GFP_RECLAIMABLE ((__force gfp_t)___GFP_RECLAIMABLE)
|
||||
#define __GFP_WRITE ((__force gfp_t)___GFP_WRITE)
|
||||
@@ -309,8 +311,10 @@ enum {
|
||||
*
|
||||
* %GFP_ATOMIC users can not sleep and need the allocation to succeed. A lower
|
||||
* watermark is applied to allow access to "atomic reserves".
|
||||
* The current implementation doesn't support NMI and few other strict
|
||||
* non-preemptive contexts (e.g. raw_spin_lock). The same applies to %GFP_NOWAIT.
|
||||
* The current implementation doesn't support NMI, nor contexts that disable
|
||||
* preemption under PREEMPT_RT. This includes raw_spin_lock() and plain
|
||||
* preempt_disable() - see "Memory allocation" in
|
||||
* Documentation/core-api/real-time/differences.rst for more info.
|
||||
*
|
||||
* %GFP_KERNEL is typical for kernel-internal allocations. The caller requires
|
||||
* %ZONE_NORMAL or a lower zone for direct access but can direct reclaim.
|
||||
@@ -321,6 +325,7 @@ enum {
|
||||
* %GFP_NOWAIT is for kernel allocations that should not stall for direct
|
||||
* reclaim, start physical IO or use any filesystem callback. It is very
|
||||
* likely to fail to allocate memory, even for very small allocations.
|
||||
* The same restrictions on calling contexts apply as for %GFP_ATOMIC.
|
||||
*
|
||||
* %GFP_NOIO will use direct reclaim to discard clean pages or slab pages
|
||||
* that do not require the starting of any physical IO.
|
||||
|
||||
@@ -860,8 +860,11 @@ __SYSCALL(__NR_file_setattr, sys_file_setattr)
|
||||
#define __NR_listns 470
|
||||
__SYSCALL(__NR_listns, sys_listns)
|
||||
|
||||
#define __NR_rseq_slice_yield 471
|
||||
__SYSCALL(__NR_rseq_slice_yield, sys_rseq_slice_yield)
|
||||
|
||||
#undef __NR_syscalls
|
||||
#define __NR_syscalls 471
|
||||
#define __NR_syscalls 472
|
||||
|
||||
/*
|
||||
* 32 bit systems traditionally used different
|
||||
|
||||
@@ -135,6 +135,12 @@ struct kvm_xen_exit {
|
||||
} u;
|
||||
};
|
||||
|
||||
struct kvm_exit_snp_req_certs {
|
||||
__u64 gpa;
|
||||
__u64 npages;
|
||||
__u64 ret;
|
||||
};
|
||||
|
||||
#define KVM_S390_GET_SKEYS_NONE 1
|
||||
#define KVM_S390_SKEYS_MAX 1048576
|
||||
|
||||
@@ -180,6 +186,8 @@ struct kvm_xen_exit {
|
||||
#define KVM_EXIT_MEMORY_FAULT 39
|
||||
#define KVM_EXIT_TDX 40
|
||||
#define KVM_EXIT_ARM_SEA 41
|
||||
#define KVM_EXIT_ARM_LDST64B 42
|
||||
#define KVM_EXIT_SNP_REQ_CERTS 43
|
||||
|
||||
/* For KVM_EXIT_INTERNAL_ERROR */
|
||||
/* Emulate instruction failed. */
|
||||
@@ -402,7 +410,7 @@ struct kvm_run {
|
||||
} eoi;
|
||||
/* KVM_EXIT_HYPERV */
|
||||
struct kvm_hyperv_exit hyperv;
|
||||
/* KVM_EXIT_ARM_NISV */
|
||||
/* KVM_EXIT_ARM_NISV / KVM_EXIT_ARM_LDST64B */
|
||||
struct {
|
||||
__u64 esr_iss;
|
||||
__u64 fault_ipa;
|
||||
@@ -482,6 +490,8 @@ struct kvm_run {
|
||||
__u64 gva;
|
||||
__u64 gpa;
|
||||
} arm_sea;
|
||||
/* KVM_EXIT_SNP_REQ_CERTS */
|
||||
struct kvm_exit_snp_req_certs snp_req_certs;
|
||||
/* Fix the size of the union. */
|
||||
char padding[256];
|
||||
};
|
||||
@@ -974,6 +984,7 @@ struct kvm_enable_cap {
|
||||
#define KVM_CAP_GUEST_MEMFD_FLAGS 244
|
||||
#define KVM_CAP_ARM_SEA_TO_USER 245
|
||||
#define KVM_CAP_S390_USER_OPEREXEC 246
|
||||
#define KVM_CAP_S390_KEYOP 247
|
||||
|
||||
struct kvm_irq_routing_irqchip {
|
||||
__u32 irqchip;
|
||||
@@ -1219,6 +1230,16 @@ struct kvm_vfio_spapr_tce {
|
||||
__s32 tablefd;
|
||||
};
|
||||
|
||||
#define KVM_S390_KEYOP_ISKE 0x01
|
||||
#define KVM_S390_KEYOP_RRBE 0x02
|
||||
#define KVM_S390_KEYOP_SSKE 0x03
|
||||
struct kvm_s390_keyop {
|
||||
__u64 guest_addr;
|
||||
__u8 key;
|
||||
__u8 operation;
|
||||
__u8 pad[6];
|
||||
};
|
||||
|
||||
/*
|
||||
* KVM_CREATE_VCPU receives as a parameter the vcpu slot, and returns
|
||||
* a vcpu fd.
|
||||
@@ -1238,6 +1259,7 @@ struct kvm_vfio_spapr_tce {
|
||||
#define KVM_S390_UCAS_MAP _IOW(KVMIO, 0x50, struct kvm_s390_ucas_mapping)
|
||||
#define KVM_S390_UCAS_UNMAP _IOW(KVMIO, 0x51, struct kvm_s390_ucas_mapping)
|
||||
#define KVM_S390_VCPU_FAULT _IOW(KVMIO, 0x52, unsigned long)
|
||||
#define KVM_S390_KEYOP _IOWR(KVMIO, 0x53, struct kvm_s390_keyop)
|
||||
|
||||
/* Device model IOC */
|
||||
#define KVM_CREATE_IRQCHIP _IO(KVMIO, 0x60)
|
||||
|
||||
@@ -1396,7 +1396,7 @@ union perf_mem_data_src {
|
||||
#define PERF_MEM_LVLNUM_L4 0x0004 /* L4 */
|
||||
#define PERF_MEM_LVLNUM_L2_MHB 0x0005 /* L2 Miss Handling Buffer */
|
||||
#define PERF_MEM_LVLNUM_MSC 0x0006 /* Memory-side Cache */
|
||||
#define PERF_MEM_LVLNUM_L0 0x0007 /* L0 */
|
||||
#define PERF_MEM_LVLNUM_L0 0x0007 /* L0 */
|
||||
#define PERF_MEM_LVLNUM_UNC 0x0008 /* Uncached */
|
||||
#define PERF_MEM_LVLNUM_CXL 0x0009 /* CXL */
|
||||
#define PERF_MEM_LVLNUM_IO 0x000a /* I/O */
|
||||
|
||||
@@ -1163,6 +1163,24 @@ ifndef NO_RUST
|
||||
CFLAGS += -DHAVE_RUST_SUPPORT
|
||||
$(call detected,CONFIG_RUST_SUPPORT)
|
||||
endif
|
||||
|
||||
ifneq ($(CROSS_COMPILE),)
|
||||
RUST_TARGET_FLAGS_arm := arm-unknown-linux-gnueabi
|
||||
RUST_TARGET_FLAGS_arm64 := aarch64-unknown-linux-gnu
|
||||
RUST_TARGET_FLAGS_m68k := m68k-unknown-linux-gnu
|
||||
RUST_TARGET_FLAGS_mips := mipsel-unknown-linux-gnu
|
||||
RUST_TARGET_FLAGS_powerpc := powerpc64le-unknown-linux-gnu
|
||||
RUST_TARGET_FLAGS_riscv := riscv64gc-unknown-linux-gnu
|
||||
RUST_TARGET_FLAGS_s390 := s390x-unknown-linux-gnu
|
||||
RUST_TARGET_FLAGS_x86 := x86_64-unknown-linux-gnu
|
||||
RUST_TARGET_FLAGS_x86_64 := x86_64-unknown-linux-gnu
|
||||
|
||||
ifeq ($(RUST_TARGET_FLAGS_$(ARCH)),)
|
||||
$(error Unknown rust cross compilation architecture $(ARCH))
|
||||
endif
|
||||
|
||||
RUST_FLAGS += --target=$(RUST_TARGET_FLAGS_$(ARCH))
|
||||
endif
|
||||
endif
|
||||
|
||||
# Among the variables below, these:
|
||||
|
||||
@@ -274,7 +274,7 @@ ifeq ($(PYLINT),1)
|
||||
PYLINT := $(shell which pylint 2> /dev/null)
|
||||
endif
|
||||
|
||||
export srctree OUTPUT RM CC CXX RUSTC LD AR CFLAGS CXXFLAGS V BISON FLEX AWK
|
||||
export srctree OUTPUT RM CC CXX RUSTC LD AR CFLAGS CXXFLAGS RUST_FLAGS V BISON FLEX AWK
|
||||
export HOSTCC HOSTLD HOSTAR HOSTCFLAGS SHELLCHECK MYPY PYLINT
|
||||
|
||||
include $(srctree)/tools/build/Makefile.include
|
||||
|
||||
@@ -485,3 +485,4 @@
|
||||
468 common file_getattr sys_file_getattr
|
||||
469 common file_setattr sys_file_setattr
|
||||
470 common listns sys_listns
|
||||
471 common rseq_slice_yield sys_rseq_slice_yield
|
||||
|
||||
@@ -68,20 +68,6 @@ static const char * const metadata_ete_ro[] = {
|
||||
|
||||
enum cs_etm_version { CS_NOT_PRESENT, CS_ETMV3, CS_ETMV4, CS_ETE };
|
||||
|
||||
/* ETMv4 CONFIGR register bits */
|
||||
#define TRCCONFIGR_BB BIT(3)
|
||||
#define TRCCONFIGR_CCI BIT(4)
|
||||
#define TRCCONFIGR_CID BIT(6)
|
||||
#define TRCCONFIGR_VMID BIT(7)
|
||||
#define TRCCONFIGR_TS BIT(11)
|
||||
#define TRCCONFIGR_RS BIT(12)
|
||||
#define TRCCONFIGR_VMIDOPT BIT(15)
|
||||
|
||||
/* ETMv3 ETMCR register bits */
|
||||
#define ETMCR_CYC_ACC BIT(12)
|
||||
#define ETMCR_TIMESTAMP_EN BIT(28)
|
||||
#define ETMCR_RETURN_STACK BIT(29)
|
||||
|
||||
static bool cs_etm_is_ete(struct perf_pmu *cs_etm_pmu, struct perf_cpu cpu);
|
||||
static int cs_etm_get_ro(struct perf_pmu *pmu, struct perf_cpu cpu, const char *path, __u64 *val);
|
||||
static bool cs_etm_pmu_path_exists(struct perf_pmu *pmu, struct perf_cpu cpu, const char *path);
|
||||
|
||||
@@ -385,3 +385,4 @@
|
||||
468 n64 file_getattr sys_file_getattr
|
||||
469 n64 file_setattr sys_file_setattr
|
||||
470 n64 listns sys_listns
|
||||
471 n64 rseq_slice_yield sys_rseq_slice_yield
|
||||
|
||||
@@ -561,3 +561,4 @@
|
||||
468 common file_getattr sys_file_getattr
|
||||
469 common file_setattr sys_file_setattr
|
||||
470 common listns sys_listns
|
||||
471 nospu rseq_slice_yield sys_rseq_slice_yield
|
||||
|
||||
@@ -3,473 +3,398 @@
|
||||
# System call table for s390
|
||||
#
|
||||
# Format:
|
||||
# <nr> <abi> <syscall> <entry>
|
||||
#
|
||||
# <nr> <abi> <syscall> <entry-64bit> <compat-entry>
|
||||
#
|
||||
# where <abi> can be common, 64, or 32
|
||||
# <abi> is always common.
|
||||
|
||||
1 common exit sys_exit sys_exit
|
||||
2 common fork sys_fork sys_fork
|
||||
3 common read sys_read compat_sys_s390_read
|
||||
4 common write sys_write compat_sys_s390_write
|
||||
5 common open sys_open compat_sys_open
|
||||
6 common close sys_close sys_close
|
||||
7 common restart_syscall sys_restart_syscall sys_restart_syscall
|
||||
8 common creat sys_creat sys_creat
|
||||
9 common link sys_link sys_link
|
||||
10 common unlink sys_unlink sys_unlink
|
||||
11 common execve sys_execve compat_sys_execve
|
||||
12 common chdir sys_chdir sys_chdir
|
||||
13 32 time - sys_time32
|
||||
14 common mknod sys_mknod sys_mknod
|
||||
15 common chmod sys_chmod sys_chmod
|
||||
16 32 lchown - sys_lchown16
|
||||
19 common lseek sys_lseek compat_sys_lseek
|
||||
20 common getpid sys_getpid sys_getpid
|
||||
21 common mount sys_mount sys_mount
|
||||
22 common umount sys_oldumount sys_oldumount
|
||||
23 32 setuid - sys_setuid16
|
||||
24 32 getuid - sys_getuid16
|
||||
25 32 stime - sys_stime32
|
||||
26 common ptrace sys_ptrace compat_sys_ptrace
|
||||
27 common alarm sys_alarm sys_alarm
|
||||
29 common pause sys_pause sys_pause
|
||||
30 common utime sys_utime sys_utime32
|
||||
33 common access sys_access sys_access
|
||||
34 common nice sys_nice sys_nice
|
||||
36 common sync sys_sync sys_sync
|
||||
37 common kill sys_kill sys_kill
|
||||
38 common rename sys_rename sys_rename
|
||||
39 common mkdir sys_mkdir sys_mkdir
|
||||
40 common rmdir sys_rmdir sys_rmdir
|
||||
41 common dup sys_dup sys_dup
|
||||
42 common pipe sys_pipe sys_pipe
|
||||
43 common times sys_times compat_sys_times
|
||||
45 common brk sys_brk sys_brk
|
||||
46 32 setgid - sys_setgid16
|
||||
47 32 getgid - sys_getgid16
|
||||
48 common signal sys_signal sys_signal
|
||||
49 32 geteuid - sys_geteuid16
|
||||
50 32 getegid - sys_getegid16
|
||||
51 common acct sys_acct sys_acct
|
||||
52 common umount2 sys_umount sys_umount
|
||||
54 common ioctl sys_ioctl compat_sys_ioctl
|
||||
55 common fcntl sys_fcntl compat_sys_fcntl
|
||||
57 common setpgid sys_setpgid sys_setpgid
|
||||
60 common umask sys_umask sys_umask
|
||||
61 common chroot sys_chroot sys_chroot
|
||||
62 common ustat sys_ustat compat_sys_ustat
|
||||
63 common dup2 sys_dup2 sys_dup2
|
||||
64 common getppid sys_getppid sys_getppid
|
||||
65 common getpgrp sys_getpgrp sys_getpgrp
|
||||
66 common setsid sys_setsid sys_setsid
|
||||
67 common sigaction sys_sigaction compat_sys_sigaction
|
||||
70 32 setreuid - sys_setreuid16
|
||||
71 32 setregid - sys_setregid16
|
||||
72 common sigsuspend sys_sigsuspend sys_sigsuspend
|
||||
73 common sigpending sys_sigpending compat_sys_sigpending
|
||||
74 common sethostname sys_sethostname sys_sethostname
|
||||
75 common setrlimit sys_setrlimit compat_sys_setrlimit
|
||||
76 32 getrlimit - compat_sys_old_getrlimit
|
||||
77 common getrusage sys_getrusage compat_sys_getrusage
|
||||
78 common gettimeofday sys_gettimeofday compat_sys_gettimeofday
|
||||
79 common settimeofday sys_settimeofday compat_sys_settimeofday
|
||||
80 32 getgroups - sys_getgroups16
|
||||
81 32 setgroups - sys_setgroups16
|
||||
83 common symlink sys_symlink sys_symlink
|
||||
85 common readlink sys_readlink sys_readlink
|
||||
86 common uselib sys_uselib sys_uselib
|
||||
87 common swapon sys_swapon sys_swapon
|
||||
88 common reboot sys_reboot sys_reboot
|
||||
89 common readdir - compat_sys_old_readdir
|
||||
90 common mmap sys_old_mmap compat_sys_s390_old_mmap
|
||||
91 common munmap sys_munmap sys_munmap
|
||||
92 common truncate sys_truncate compat_sys_truncate
|
||||
93 common ftruncate sys_ftruncate compat_sys_ftruncate
|
||||
94 common fchmod sys_fchmod sys_fchmod
|
||||
95 32 fchown - sys_fchown16
|
||||
96 common getpriority sys_getpriority sys_getpriority
|
||||
97 common setpriority sys_setpriority sys_setpriority
|
||||
99 common statfs sys_statfs compat_sys_statfs
|
||||
100 common fstatfs sys_fstatfs compat_sys_fstatfs
|
||||
101 32 ioperm - -
|
||||
102 common socketcall sys_socketcall compat_sys_socketcall
|
||||
103 common syslog sys_syslog sys_syslog
|
||||
104 common setitimer sys_setitimer compat_sys_setitimer
|
||||
105 common getitimer sys_getitimer compat_sys_getitimer
|
||||
106 common stat sys_newstat compat_sys_newstat
|
||||
107 common lstat sys_newlstat compat_sys_newlstat
|
||||
108 common fstat sys_newfstat compat_sys_newfstat
|
||||
110 common lookup_dcookie - -
|
||||
111 common vhangup sys_vhangup sys_vhangup
|
||||
112 common idle - -
|
||||
114 common wait4 sys_wait4 compat_sys_wait4
|
||||
115 common swapoff sys_swapoff sys_swapoff
|
||||
116 common sysinfo sys_sysinfo compat_sys_sysinfo
|
||||
117 common ipc sys_s390_ipc compat_sys_s390_ipc
|
||||
118 common fsync sys_fsync sys_fsync
|
||||
119 common sigreturn sys_sigreturn compat_sys_sigreturn
|
||||
120 common clone sys_clone sys_clone
|
||||
121 common setdomainname sys_setdomainname sys_setdomainname
|
||||
122 common uname sys_newuname sys_newuname
|
||||
124 common adjtimex sys_adjtimex sys_adjtimex_time32
|
||||
125 common mprotect sys_mprotect sys_mprotect
|
||||
126 common sigprocmask sys_sigprocmask compat_sys_sigprocmask
|
||||
127 common create_module - -
|
||||
128 common init_module sys_init_module sys_init_module
|
||||
129 common delete_module sys_delete_module sys_delete_module
|
||||
130 common get_kernel_syms - -
|
||||
131 common quotactl sys_quotactl sys_quotactl
|
||||
132 common getpgid sys_getpgid sys_getpgid
|
||||
133 common fchdir sys_fchdir sys_fchdir
|
||||
134 common bdflush sys_ni_syscall sys_ni_syscall
|
||||
135 common sysfs sys_sysfs sys_sysfs
|
||||
136 common personality sys_s390_personality sys_s390_personality
|
||||
137 common afs_syscall - -
|
||||
138 32 setfsuid - sys_setfsuid16
|
||||
139 32 setfsgid - sys_setfsgid16
|
||||
140 32 _llseek - sys_llseek
|
||||
141 common getdents sys_getdents compat_sys_getdents
|
||||
142 32 _newselect - compat_sys_select
|
||||
142 64 select sys_select -
|
||||
143 common flock sys_flock sys_flock
|
||||
144 common msync sys_msync sys_msync
|
||||
145 common readv sys_readv sys_readv
|
||||
146 common writev sys_writev sys_writev
|
||||
147 common getsid sys_getsid sys_getsid
|
||||
148 common fdatasync sys_fdatasync sys_fdatasync
|
||||
149 common _sysctl - -
|
||||
150 common mlock sys_mlock sys_mlock
|
||||
151 common munlock sys_munlock sys_munlock
|
||||
152 common mlockall sys_mlockall sys_mlockall
|
||||
153 common munlockall sys_munlockall sys_munlockall
|
||||
154 common sched_setparam sys_sched_setparam sys_sched_setparam
|
||||
155 common sched_getparam sys_sched_getparam sys_sched_getparam
|
||||
156 common sched_setscheduler sys_sched_setscheduler sys_sched_setscheduler
|
||||
157 common sched_getscheduler sys_sched_getscheduler sys_sched_getscheduler
|
||||
158 common sched_yield sys_sched_yield sys_sched_yield
|
||||
159 common sched_get_priority_max sys_sched_get_priority_max sys_sched_get_priority_max
|
||||
160 common sched_get_priority_min sys_sched_get_priority_min sys_sched_get_priority_min
|
||||
161 common sched_rr_get_interval sys_sched_rr_get_interval sys_sched_rr_get_interval_time32
|
||||
162 common nanosleep sys_nanosleep sys_nanosleep_time32
|
||||
163 common mremap sys_mremap sys_mremap
|
||||
164 32 setresuid - sys_setresuid16
|
||||
165 32 getresuid - sys_getresuid16
|
||||
167 common query_module - -
|
||||
168 common poll sys_poll sys_poll
|
||||
169 common nfsservctl - -
|
||||
170 32 setresgid - sys_setresgid16
|
||||
171 32 getresgid - sys_getresgid16
|
||||
172 common prctl sys_prctl sys_prctl
|
||||
173 common rt_sigreturn sys_rt_sigreturn compat_sys_rt_sigreturn
|
||||
174 common rt_sigaction sys_rt_sigaction compat_sys_rt_sigaction
|
||||
175 common rt_sigprocmask sys_rt_sigprocmask compat_sys_rt_sigprocmask
|
||||
176 common rt_sigpending sys_rt_sigpending compat_sys_rt_sigpending
|
||||
177 common rt_sigtimedwait sys_rt_sigtimedwait compat_sys_rt_sigtimedwait_time32
|
||||
178 common rt_sigqueueinfo sys_rt_sigqueueinfo compat_sys_rt_sigqueueinfo
|
||||
179 common rt_sigsuspend sys_rt_sigsuspend compat_sys_rt_sigsuspend
|
||||
180 common pread64 sys_pread64 compat_sys_s390_pread64
|
||||
181 common pwrite64 sys_pwrite64 compat_sys_s390_pwrite64
|
||||
182 32 chown - sys_chown16
|
||||
183 common getcwd sys_getcwd sys_getcwd
|
||||
184 common capget sys_capget sys_capget
|
||||
185 common capset sys_capset sys_capset
|
||||
186 common sigaltstack sys_sigaltstack compat_sys_sigaltstack
|
||||
187 common sendfile sys_sendfile64 compat_sys_sendfile
|
||||
188 common getpmsg - -
|
||||
189 common putpmsg - -
|
||||
190 common vfork sys_vfork sys_vfork
|
||||
191 32 ugetrlimit - compat_sys_getrlimit
|
||||
191 64 getrlimit sys_getrlimit -
|
||||
192 32 mmap2 - compat_sys_s390_mmap2
|
||||
193 32 truncate64 - compat_sys_s390_truncate64
|
||||
194 32 ftruncate64 - compat_sys_s390_ftruncate64
|
||||
195 32 stat64 - compat_sys_s390_stat64
|
||||
196 32 lstat64 - compat_sys_s390_lstat64
|
||||
197 32 fstat64 - compat_sys_s390_fstat64
|
||||
198 32 lchown32 - sys_lchown
|
||||
198 64 lchown sys_lchown -
|
||||
199 32 getuid32 - sys_getuid
|
||||
199 64 getuid sys_getuid -
|
||||
200 32 getgid32 - sys_getgid
|
||||
200 64 getgid sys_getgid -
|
||||
201 32 geteuid32 - sys_geteuid
|
||||
201 64 geteuid sys_geteuid -
|
||||
202 32 getegid32 - sys_getegid
|
||||
202 64 getegid sys_getegid -
|
||||
203 32 setreuid32 - sys_setreuid
|
||||
203 64 setreuid sys_setreuid -
|
||||
204 32 setregid32 - sys_setregid
|
||||
204 64 setregid sys_setregid -
|
||||
205 32 getgroups32 - sys_getgroups
|
||||
205 64 getgroups sys_getgroups -
|
||||
206 32 setgroups32 - sys_setgroups
|
||||
206 64 setgroups sys_setgroups -
|
||||
207 32 fchown32 - sys_fchown
|
||||
207 64 fchown sys_fchown -
|
||||
208 32 setresuid32 - sys_setresuid
|
||||
208 64 setresuid sys_setresuid -
|
||||
209 32 getresuid32 - sys_getresuid
|
||||
209 64 getresuid sys_getresuid -
|
||||
210 32 setresgid32 - sys_setresgid
|
||||
210 64 setresgid sys_setresgid -
|
||||
211 32 getresgid32 - sys_getresgid
|
||||
211 64 getresgid sys_getresgid -
|
||||
212 32 chown32 - sys_chown
|
||||
212 64 chown sys_chown -
|
||||
213 32 setuid32 - sys_setuid
|
||||
213 64 setuid sys_setuid -
|
||||
214 32 setgid32 - sys_setgid
|
||||
214 64 setgid sys_setgid -
|
||||
215 32 setfsuid32 - sys_setfsuid
|
||||
215 64 setfsuid sys_setfsuid -
|
||||
216 32 setfsgid32 - sys_setfsgid
|
||||
216 64 setfsgid sys_setfsgid -
|
||||
217 common pivot_root sys_pivot_root sys_pivot_root
|
||||
218 common mincore sys_mincore sys_mincore
|
||||
219 common madvise sys_madvise sys_madvise
|
||||
220 common getdents64 sys_getdents64 sys_getdents64
|
||||
221 32 fcntl64 - compat_sys_fcntl64
|
||||
222 common readahead sys_readahead compat_sys_s390_readahead
|
||||
223 32 sendfile64 - compat_sys_sendfile64
|
||||
224 common setxattr sys_setxattr sys_setxattr
|
||||
225 common lsetxattr sys_lsetxattr sys_lsetxattr
|
||||
226 common fsetxattr sys_fsetxattr sys_fsetxattr
|
||||
227 common getxattr sys_getxattr sys_getxattr
|
||||
228 common lgetxattr sys_lgetxattr sys_lgetxattr
|
||||
229 common fgetxattr sys_fgetxattr sys_fgetxattr
|
||||
230 common listxattr sys_listxattr sys_listxattr
|
||||
231 common llistxattr sys_llistxattr sys_llistxattr
|
||||
232 common flistxattr sys_flistxattr sys_flistxattr
|
||||
233 common removexattr sys_removexattr sys_removexattr
|
||||
234 common lremovexattr sys_lremovexattr sys_lremovexattr
|
||||
235 common fremovexattr sys_fremovexattr sys_fremovexattr
|
||||
236 common gettid sys_gettid sys_gettid
|
||||
237 common tkill sys_tkill sys_tkill
|
||||
238 common futex sys_futex sys_futex_time32
|
||||
239 common sched_setaffinity sys_sched_setaffinity compat_sys_sched_setaffinity
|
||||
240 common sched_getaffinity sys_sched_getaffinity compat_sys_sched_getaffinity
|
||||
241 common tgkill sys_tgkill sys_tgkill
|
||||
243 common io_setup sys_io_setup compat_sys_io_setup
|
||||
244 common io_destroy sys_io_destroy sys_io_destroy
|
||||
245 common io_getevents sys_io_getevents sys_io_getevents_time32
|
||||
246 common io_submit sys_io_submit compat_sys_io_submit
|
||||
247 common io_cancel sys_io_cancel sys_io_cancel
|
||||
248 common exit_group sys_exit_group sys_exit_group
|
||||
249 common epoll_create sys_epoll_create sys_epoll_create
|
||||
250 common epoll_ctl sys_epoll_ctl sys_epoll_ctl
|
||||
251 common epoll_wait sys_epoll_wait sys_epoll_wait
|
||||
252 common set_tid_address sys_set_tid_address sys_set_tid_address
|
||||
253 common fadvise64 sys_fadvise64_64 compat_sys_s390_fadvise64
|
||||
254 common timer_create sys_timer_create compat_sys_timer_create
|
||||
255 common timer_settime sys_timer_settime sys_timer_settime32
|
||||
256 common timer_gettime sys_timer_gettime sys_timer_gettime32
|
||||
257 common timer_getoverrun sys_timer_getoverrun sys_timer_getoverrun
|
||||
258 common timer_delete sys_timer_delete sys_timer_delete
|
||||
259 common clock_settime sys_clock_settime sys_clock_settime32
|
||||
260 common clock_gettime sys_clock_gettime sys_clock_gettime32
|
||||
261 common clock_getres sys_clock_getres sys_clock_getres_time32
|
||||
262 common clock_nanosleep sys_clock_nanosleep sys_clock_nanosleep_time32
|
||||
264 32 fadvise64_64 - compat_sys_s390_fadvise64_64
|
||||
265 common statfs64 sys_statfs64 compat_sys_statfs64
|
||||
266 common fstatfs64 sys_fstatfs64 compat_sys_fstatfs64
|
||||
267 common remap_file_pages sys_remap_file_pages sys_remap_file_pages
|
||||
268 common mbind sys_mbind sys_mbind
|
||||
269 common get_mempolicy sys_get_mempolicy sys_get_mempolicy
|
||||
270 common set_mempolicy sys_set_mempolicy sys_set_mempolicy
|
||||
271 common mq_open sys_mq_open compat_sys_mq_open
|
||||
272 common mq_unlink sys_mq_unlink sys_mq_unlink
|
||||
273 common mq_timedsend sys_mq_timedsend sys_mq_timedsend_time32
|
||||
274 common mq_timedreceive sys_mq_timedreceive sys_mq_timedreceive_time32
|
||||
275 common mq_notify sys_mq_notify compat_sys_mq_notify
|
||||
276 common mq_getsetattr sys_mq_getsetattr compat_sys_mq_getsetattr
|
||||
277 common kexec_load sys_kexec_load compat_sys_kexec_load
|
||||
278 common add_key sys_add_key sys_add_key
|
||||
279 common request_key sys_request_key sys_request_key
|
||||
280 common keyctl sys_keyctl compat_sys_keyctl
|
||||
281 common waitid sys_waitid compat_sys_waitid
|
||||
282 common ioprio_set sys_ioprio_set sys_ioprio_set
|
||||
283 common ioprio_get sys_ioprio_get sys_ioprio_get
|
||||
284 common inotify_init sys_inotify_init sys_inotify_init
|
||||
285 common inotify_add_watch sys_inotify_add_watch sys_inotify_add_watch
|
||||
286 common inotify_rm_watch sys_inotify_rm_watch sys_inotify_rm_watch
|
||||
287 common migrate_pages sys_migrate_pages sys_migrate_pages
|
||||
288 common openat sys_openat compat_sys_openat
|
||||
289 common mkdirat sys_mkdirat sys_mkdirat
|
||||
290 common mknodat sys_mknodat sys_mknodat
|
||||
291 common fchownat sys_fchownat sys_fchownat
|
||||
292 common futimesat sys_futimesat sys_futimesat_time32
|
||||
293 32 fstatat64 - compat_sys_s390_fstatat64
|
||||
293 64 newfstatat sys_newfstatat -
|
||||
294 common unlinkat sys_unlinkat sys_unlinkat
|
||||
295 common renameat sys_renameat sys_renameat
|
||||
296 common linkat sys_linkat sys_linkat
|
||||
297 common symlinkat sys_symlinkat sys_symlinkat
|
||||
298 common readlinkat sys_readlinkat sys_readlinkat
|
||||
299 common fchmodat sys_fchmodat sys_fchmodat
|
||||
300 common faccessat sys_faccessat sys_faccessat
|
||||
301 common pselect6 sys_pselect6 compat_sys_pselect6_time32
|
||||
302 common ppoll sys_ppoll compat_sys_ppoll_time32
|
||||
303 common unshare sys_unshare sys_unshare
|
||||
304 common set_robust_list sys_set_robust_list compat_sys_set_robust_list
|
||||
305 common get_robust_list sys_get_robust_list compat_sys_get_robust_list
|
||||
306 common splice sys_splice sys_splice
|
||||
307 common sync_file_range sys_sync_file_range compat_sys_s390_sync_file_range
|
||||
308 common tee sys_tee sys_tee
|
||||
309 common vmsplice sys_vmsplice sys_vmsplice
|
||||
310 common move_pages sys_move_pages sys_move_pages
|
||||
311 common getcpu sys_getcpu sys_getcpu
|
||||
312 common epoll_pwait sys_epoll_pwait compat_sys_epoll_pwait
|
||||
313 common utimes sys_utimes sys_utimes_time32
|
||||
314 common fallocate sys_fallocate compat_sys_s390_fallocate
|
||||
315 common utimensat sys_utimensat sys_utimensat_time32
|
||||
316 common signalfd sys_signalfd compat_sys_signalfd
|
||||
317 common timerfd - -
|
||||
318 common eventfd sys_eventfd sys_eventfd
|
||||
319 common timerfd_create sys_timerfd_create sys_timerfd_create
|
||||
320 common timerfd_settime sys_timerfd_settime sys_timerfd_settime32
|
||||
321 common timerfd_gettime sys_timerfd_gettime sys_timerfd_gettime32
|
||||
322 common signalfd4 sys_signalfd4 compat_sys_signalfd4
|
||||
323 common eventfd2 sys_eventfd2 sys_eventfd2
|
||||
324 common inotify_init1 sys_inotify_init1 sys_inotify_init1
|
||||
325 common pipe2 sys_pipe2 sys_pipe2
|
||||
326 common dup3 sys_dup3 sys_dup3
|
||||
327 common epoll_create1 sys_epoll_create1 sys_epoll_create1
|
||||
328 common preadv sys_preadv compat_sys_preadv
|
||||
329 common pwritev sys_pwritev compat_sys_pwritev
|
||||
330 common rt_tgsigqueueinfo sys_rt_tgsigqueueinfo compat_sys_rt_tgsigqueueinfo
|
||||
331 common perf_event_open sys_perf_event_open sys_perf_event_open
|
||||
332 common fanotify_init sys_fanotify_init sys_fanotify_init
|
||||
333 common fanotify_mark sys_fanotify_mark compat_sys_fanotify_mark
|
||||
334 common prlimit64 sys_prlimit64 sys_prlimit64
|
||||
335 common name_to_handle_at sys_name_to_handle_at sys_name_to_handle_at
|
||||
336 common open_by_handle_at sys_open_by_handle_at compat_sys_open_by_handle_at
|
||||
337 common clock_adjtime sys_clock_adjtime sys_clock_adjtime32
|
||||
338 common syncfs sys_syncfs sys_syncfs
|
||||
339 common setns sys_setns sys_setns
|
||||
340 common process_vm_readv sys_process_vm_readv sys_process_vm_readv
|
||||
341 common process_vm_writev sys_process_vm_writev sys_process_vm_writev
|
||||
342 common s390_runtime_instr sys_s390_runtime_instr sys_s390_runtime_instr
|
||||
343 common kcmp sys_kcmp sys_kcmp
|
||||
344 common finit_module sys_finit_module sys_finit_module
|
||||
345 common sched_setattr sys_sched_setattr sys_sched_setattr
|
||||
346 common sched_getattr sys_sched_getattr sys_sched_getattr
|
||||
347 common renameat2 sys_renameat2 sys_renameat2
|
||||
348 common seccomp sys_seccomp sys_seccomp
|
||||
349 common getrandom sys_getrandom sys_getrandom
|
||||
350 common memfd_create sys_memfd_create sys_memfd_create
|
||||
351 common bpf sys_bpf sys_bpf
|
||||
352 common s390_pci_mmio_write sys_s390_pci_mmio_write sys_s390_pci_mmio_write
|
||||
353 common s390_pci_mmio_read sys_s390_pci_mmio_read sys_s390_pci_mmio_read
|
||||
354 common execveat sys_execveat compat_sys_execveat
|
||||
355 common userfaultfd sys_userfaultfd sys_userfaultfd
|
||||
356 common membarrier sys_membarrier sys_membarrier
|
||||
357 common recvmmsg sys_recvmmsg compat_sys_recvmmsg_time32
|
||||
358 common sendmmsg sys_sendmmsg compat_sys_sendmmsg
|
||||
359 common socket sys_socket sys_socket
|
||||
360 common socketpair sys_socketpair sys_socketpair
|
||||
361 common bind sys_bind sys_bind
|
||||
362 common connect sys_connect sys_connect
|
||||
363 common listen sys_listen sys_listen
|
||||
364 common accept4 sys_accept4 sys_accept4
|
||||
365 common getsockopt sys_getsockopt sys_getsockopt
|
||||
366 common setsockopt sys_setsockopt sys_setsockopt
|
||||
367 common getsockname sys_getsockname sys_getsockname
|
||||
368 common getpeername sys_getpeername sys_getpeername
|
||||
369 common sendto sys_sendto sys_sendto
|
||||
370 common sendmsg sys_sendmsg compat_sys_sendmsg
|
||||
371 common recvfrom sys_recvfrom compat_sys_recvfrom
|
||||
372 common recvmsg sys_recvmsg compat_sys_recvmsg
|
||||
373 common shutdown sys_shutdown sys_shutdown
|
||||
374 common mlock2 sys_mlock2 sys_mlock2
|
||||
375 common copy_file_range sys_copy_file_range sys_copy_file_range
|
||||
376 common preadv2 sys_preadv2 compat_sys_preadv2
|
||||
377 common pwritev2 sys_pwritev2 compat_sys_pwritev2
|
||||
378 common s390_guarded_storage sys_s390_guarded_storage sys_s390_guarded_storage
|
||||
379 common statx sys_statx sys_statx
|
||||
380 common s390_sthyi sys_s390_sthyi sys_s390_sthyi
|
||||
381 common kexec_file_load sys_kexec_file_load sys_kexec_file_load
|
||||
382 common io_pgetevents sys_io_pgetevents compat_sys_io_pgetevents
|
||||
383 common rseq sys_rseq sys_rseq
|
||||
384 common pkey_mprotect sys_pkey_mprotect sys_pkey_mprotect
|
||||
385 common pkey_alloc sys_pkey_alloc sys_pkey_alloc
|
||||
386 common pkey_free sys_pkey_free sys_pkey_free
|
||||
1 common exit sys_exit
|
||||
2 common fork sys_fork
|
||||
3 common read sys_read
|
||||
4 common write sys_write
|
||||
5 common open sys_open
|
||||
6 common close sys_close
|
||||
7 common restart_syscall sys_restart_syscall
|
||||
8 common creat sys_creat
|
||||
9 common link sys_link
|
||||
10 common unlink sys_unlink
|
||||
11 common execve sys_execve
|
||||
12 common chdir sys_chdir
|
||||
14 common mknod sys_mknod
|
||||
15 common chmod sys_chmod
|
||||
19 common lseek sys_lseek
|
||||
20 common getpid sys_getpid
|
||||
21 common mount sys_mount
|
||||
22 common umount sys_oldumount
|
||||
26 common ptrace sys_ptrace
|
||||
27 common alarm sys_alarm
|
||||
29 common pause sys_pause
|
||||
30 common utime sys_utime
|
||||
33 common access sys_access
|
||||
34 common nice sys_nice
|
||||
36 common sync sys_sync
|
||||
37 common kill sys_kill
|
||||
38 common rename sys_rename
|
||||
39 common mkdir sys_mkdir
|
||||
40 common rmdir sys_rmdir
|
||||
41 common dup sys_dup
|
||||
42 common pipe sys_pipe
|
||||
43 common times sys_times
|
||||
45 common brk sys_brk
|
||||
48 common signal sys_signal
|
||||
51 common acct sys_acct
|
||||
52 common umount2 sys_umount
|
||||
54 common ioctl sys_ioctl
|
||||
55 common fcntl sys_fcntl
|
||||
57 common setpgid sys_setpgid
|
||||
60 common umask sys_umask
|
||||
61 common chroot sys_chroot
|
||||
62 common ustat sys_ustat
|
||||
63 common dup2 sys_dup2
|
||||
64 common getppid sys_getppid
|
||||
65 common getpgrp sys_getpgrp
|
||||
66 common setsid sys_setsid
|
||||
67 common sigaction sys_sigaction
|
||||
72 common sigsuspend sys_sigsuspend
|
||||
73 common sigpending sys_sigpending
|
||||
74 common sethostname sys_sethostname
|
||||
75 common setrlimit sys_setrlimit
|
||||
77 common getrusage sys_getrusage
|
||||
78 common gettimeofday sys_gettimeofday
|
||||
79 common settimeofday sys_settimeofday
|
||||
83 common symlink sys_symlink
|
||||
85 common readlink sys_readlink
|
||||
86 common uselib sys_uselib
|
||||
87 common swapon sys_swapon
|
||||
88 common reboot sys_reboot
|
||||
89 common readdir sys_ni_syscall
|
||||
90 common mmap sys_old_mmap
|
||||
91 common munmap sys_munmap
|
||||
92 common truncate sys_truncate
|
||||
93 common ftruncate sys_ftruncate
|
||||
94 common fchmod sys_fchmod
|
||||
96 common getpriority sys_getpriority
|
||||
97 common setpriority sys_setpriority
|
||||
99 common statfs sys_statfs
|
||||
100 common fstatfs sys_fstatfs
|
||||
102 common socketcall sys_socketcall
|
||||
103 common syslog sys_syslog
|
||||
104 common setitimer sys_setitimer
|
||||
105 common getitimer sys_getitimer
|
||||
106 common stat sys_newstat
|
||||
107 common lstat sys_newlstat
|
||||
108 common fstat sys_newfstat
|
||||
110 common lookup_dcookie sys_ni_syscall
|
||||
111 common vhangup sys_vhangup
|
||||
112 common idle sys_ni_syscall
|
||||
114 common wait4 sys_wait4
|
||||
115 common swapoff sys_swapoff
|
||||
116 common sysinfo sys_sysinfo
|
||||
117 common ipc sys_s390_ipc
|
||||
118 common fsync sys_fsync
|
||||
119 common sigreturn sys_sigreturn
|
||||
120 common clone sys_clone
|
||||
121 common setdomainname sys_setdomainname
|
||||
122 common uname sys_newuname
|
||||
124 common adjtimex sys_adjtimex
|
||||
125 common mprotect sys_mprotect
|
||||
126 common sigprocmask sys_sigprocmask
|
||||
127 common create_module sys_ni_syscall
|
||||
128 common init_module sys_init_module
|
||||
129 common delete_module sys_delete_module
|
||||
130 common get_kernel_syms sys_ni_syscall
|
||||
131 common quotactl sys_quotactl
|
||||
132 common getpgid sys_getpgid
|
||||
133 common fchdir sys_fchdir
|
||||
134 common bdflush sys_ni_syscall
|
||||
135 common sysfs sys_sysfs
|
||||
136 common personality sys_s390_personality
|
||||
137 common afs_syscall sys_ni_syscall
|
||||
141 common getdents sys_getdents
|
||||
142 common select sys_select
|
||||
143 common flock sys_flock
|
||||
144 common msync sys_msync
|
||||
145 common readv sys_readv
|
||||
146 common writev sys_writev
|
||||
147 common getsid sys_getsid
|
||||
148 common fdatasync sys_fdatasync
|
||||
149 common _sysctl sys_ni_syscall
|
||||
150 common mlock sys_mlock
|
||||
151 common munlock sys_munlock
|
||||
152 common mlockall sys_mlockall
|
||||
153 common munlockall sys_munlockall
|
||||
154 common sched_setparam sys_sched_setparam
|
||||
155 common sched_getparam sys_sched_getparam
|
||||
156 common sched_setscheduler sys_sched_setscheduler
|
||||
157 common sched_getscheduler sys_sched_getscheduler
|
||||
158 common sched_yield sys_sched_yield
|
||||
159 common sched_get_priority_max sys_sched_get_priority_max
|
||||
160 common sched_get_priority_min sys_sched_get_priority_min
|
||||
161 common sched_rr_get_interval sys_sched_rr_get_interval
|
||||
162 common nanosleep sys_nanosleep
|
||||
163 common mremap sys_mremap
|
||||
167 common query_module sys_ni_syscall
|
||||
168 common poll sys_poll
|
||||
169 common nfsservctl sys_ni_syscall
|
||||
172 common prctl sys_prctl
|
||||
173 common rt_sigreturn sys_rt_sigreturn
|
||||
174 common rt_sigaction sys_rt_sigaction
|
||||
175 common rt_sigprocmask sys_rt_sigprocmask
|
||||
176 common rt_sigpending sys_rt_sigpending
|
||||
177 common rt_sigtimedwait sys_rt_sigtimedwait
|
||||
178 common rt_sigqueueinfo sys_rt_sigqueueinfo
|
||||
179 common rt_sigsuspend sys_rt_sigsuspend
|
||||
180 common pread64 sys_pread64
|
||||
181 common pwrite64 sys_pwrite64
|
||||
183 common getcwd sys_getcwd
|
||||
184 common capget sys_capget
|
||||
185 common capset sys_capset
|
||||
186 common sigaltstack sys_sigaltstack
|
||||
187 common sendfile sys_sendfile64
|
||||
188 common getpmsg sys_ni_syscall
|
||||
189 common putpmsg sys_ni_syscall
|
||||
190 common vfork sys_vfork
|
||||
191 common getrlimit sys_getrlimit
|
||||
198 common lchown sys_lchown
|
||||
199 common getuid sys_getuid
|
||||
200 common getgid sys_getgid
|
||||
201 common geteuid sys_geteuid
|
||||
202 common getegid sys_getegid
|
||||
203 common setreuid sys_setreuid
|
||||
204 common setregid sys_setregid
|
||||
205 common getgroups sys_getgroups
|
||||
206 common setgroups sys_setgroups
|
||||
207 common fchown sys_fchown
|
||||
208 common setresuid sys_setresuid
|
||||
209 common getresuid sys_getresuid
|
||||
210 common setresgid sys_setresgid
|
||||
211 common getresgid sys_getresgid
|
||||
212 common chown sys_chown
|
||||
213 common setuid sys_setuid
|
||||
214 common setgid sys_setgid
|
||||
215 common setfsuid sys_setfsuid
|
||||
216 common setfsgid sys_setfsgid
|
||||
217 common pivot_root sys_pivot_root
|
||||
218 common mincore sys_mincore
|
||||
219 common madvise sys_madvise
|
||||
220 common getdents64 sys_getdents64
|
||||
222 common readahead sys_readahead
|
||||
224 common setxattr sys_setxattr
|
||||
225 common lsetxattr sys_lsetxattr
|
||||
226 common fsetxattr sys_fsetxattr
|
||||
227 common getxattr sys_getxattr
|
||||
228 common lgetxattr sys_lgetxattr
|
||||
229 common fgetxattr sys_fgetxattr
|
||||
230 common listxattr sys_listxattr
|
||||
231 common llistxattr sys_llistxattr
|
||||
232 common flistxattr sys_flistxattr
|
||||
233 common removexattr sys_removexattr
|
||||
234 common lremovexattr sys_lremovexattr
|
||||
235 common fremovexattr sys_fremovexattr
|
||||
236 common gettid sys_gettid
|
||||
237 common tkill sys_tkill
|
||||
238 common futex sys_futex
|
||||
239 common sched_setaffinity sys_sched_setaffinity
|
||||
240 common sched_getaffinity sys_sched_getaffinity
|
||||
241 common tgkill sys_tgkill
|
||||
243 common io_setup sys_io_setup
|
||||
244 common io_destroy sys_io_destroy
|
||||
245 common io_getevents sys_io_getevents
|
||||
246 common io_submit sys_io_submit
|
||||
247 common io_cancel sys_io_cancel
|
||||
248 common exit_group sys_exit_group
|
||||
249 common epoll_create sys_epoll_create
|
||||
250 common epoll_ctl sys_epoll_ctl
|
||||
251 common epoll_wait sys_epoll_wait
|
||||
252 common set_tid_address sys_set_tid_address
|
||||
253 common fadvise64 sys_fadvise64_64
|
||||
254 common timer_create sys_timer_create
|
||||
255 common timer_settime sys_timer_settime
|
||||
256 common timer_gettime sys_timer_gettime
|
||||
257 common timer_getoverrun sys_timer_getoverrun
|
||||
258 common timer_delete sys_timer_delete
|
||||
259 common clock_settime sys_clock_settime
|
||||
260 common clock_gettime sys_clock_gettime
|
||||
261 common clock_getres sys_clock_getres
|
||||
262 common clock_nanosleep sys_clock_nanosleep
|
||||
265 common statfs64 sys_statfs64
|
||||
266 common fstatfs64 sys_fstatfs64
|
||||
267 common remap_file_pages sys_remap_file_pages
|
||||
268 common mbind sys_mbind
|
||||
269 common get_mempolicy sys_get_mempolicy
|
||||
270 common set_mempolicy sys_set_mempolicy
|
||||
271 common mq_open sys_mq_open
|
||||
272 common mq_unlink sys_mq_unlink
|
||||
273 common mq_timedsend sys_mq_timedsend
|
||||
274 common mq_timedreceive sys_mq_timedreceive
|
||||
275 common mq_notify sys_mq_notify
|
||||
276 common mq_getsetattr sys_mq_getsetattr
|
||||
277 common kexec_load sys_kexec_load
|
||||
278 common add_key sys_add_key
|
||||
279 common request_key sys_request_key
|
||||
280 common keyctl sys_keyctl
|
||||
281 common waitid sys_waitid
|
||||
282 common ioprio_set sys_ioprio_set
|
||||
283 common ioprio_get sys_ioprio_get
|
||||
284 common inotify_init sys_inotify_init
|
||||
285 common inotify_add_watch sys_inotify_add_watch
|
||||
286 common inotify_rm_watch sys_inotify_rm_watch
|
||||
287 common migrate_pages sys_migrate_pages
|
||||
288 common openat sys_openat
|
||||
289 common mkdirat sys_mkdirat
|
||||
290 common mknodat sys_mknodat
|
||||
291 common fchownat sys_fchownat
|
||||
292 common futimesat sys_futimesat
|
||||
293 common newfstatat sys_newfstatat
|
||||
294 common unlinkat sys_unlinkat
|
||||
295 common renameat sys_renameat
|
||||
296 common linkat sys_linkat
|
||||
297 common symlinkat sys_symlinkat
|
||||
298 common readlinkat sys_readlinkat
|
||||
299 common fchmodat sys_fchmodat
|
||||
300 common faccessat sys_faccessat
|
||||
301 common pselect6 sys_pselect6
|
||||
302 common ppoll sys_ppoll
|
||||
303 common unshare sys_unshare
|
||||
304 common set_robust_list sys_set_robust_list
|
||||
305 common get_robust_list sys_get_robust_list
|
||||
306 common splice sys_splice
|
||||
307 common sync_file_range sys_sync_file_range
|
||||
308 common tee sys_tee
|
||||
309 common vmsplice sys_vmsplice
|
||||
310 common move_pages sys_move_pages
|
||||
311 common getcpu sys_getcpu
|
||||
312 common epoll_pwait sys_epoll_pwait
|
||||
313 common utimes sys_utimes
|
||||
314 common fallocate sys_fallocate
|
||||
315 common utimensat sys_utimensat
|
||||
316 common signalfd sys_signalfd
|
||||
317 common timerfd sys_ni_syscall
|
||||
318 common eventfd sys_eventfd
|
||||
319 common timerfd_create sys_timerfd_create
|
||||
320 common timerfd_settime sys_timerfd_settime
|
||||
321 common timerfd_gettime sys_timerfd_gettime
|
||||
322 common signalfd4 sys_signalfd4
|
||||
323 common eventfd2 sys_eventfd2
|
||||
324 common inotify_init1 sys_inotify_init1
|
||||
325 common pipe2 sys_pipe2
|
||||
326 common dup3 sys_dup3
|
||||
327 common epoll_create1 sys_epoll_create1
|
||||
328 common preadv sys_preadv
|
||||
329 common pwritev sys_pwritev
|
||||
330 common rt_tgsigqueueinfo sys_rt_tgsigqueueinfo
|
||||
331 common perf_event_open sys_perf_event_open
|
||||
332 common fanotify_init sys_fanotify_init
|
||||
333 common fanotify_mark sys_fanotify_mark
|
||||
334 common prlimit64 sys_prlimit64
|
||||
335 common name_to_handle_at sys_name_to_handle_at
|
||||
336 common open_by_handle_at sys_open_by_handle_at
|
||||
337 common clock_adjtime sys_clock_adjtime
|
||||
338 common syncfs sys_syncfs
|
||||
339 common setns sys_setns
|
||||
340 common process_vm_readv sys_process_vm_readv
|
||||
341 common process_vm_writev sys_process_vm_writev
|
||||
342 common s390_runtime_instr sys_s390_runtime_instr
|
||||
343 common kcmp sys_kcmp
|
||||
344 common finit_module sys_finit_module
|
||||
345 common sched_setattr sys_sched_setattr
|
||||
346 common sched_getattr sys_sched_getattr
|
||||
347 common renameat2 sys_renameat2
|
||||
348 common seccomp sys_seccomp
|
||||
349 common getrandom sys_getrandom
|
||||
350 common memfd_create sys_memfd_create
|
||||
351 common bpf sys_bpf
|
||||
352 common s390_pci_mmio_write sys_s390_pci_mmio_write
|
||||
353 common s390_pci_mmio_read sys_s390_pci_mmio_read
|
||||
354 common execveat sys_execveat
|
||||
355 common userfaultfd sys_userfaultfd
|
||||
356 common membarrier sys_membarrier
|
||||
357 common recvmmsg sys_recvmmsg
|
||||
358 common sendmmsg sys_sendmmsg
|
||||
359 common socket sys_socket
|
||||
360 common socketpair sys_socketpair
|
||||
361 common bind sys_bind
|
||||
362 common connect sys_connect
|
||||
363 common listen sys_listen
|
||||
364 common accept4 sys_accept4
|
||||
365 common getsockopt sys_getsockopt
|
||||
366 common setsockopt sys_setsockopt
|
||||
367 common getsockname sys_getsockname
|
||||
368 common getpeername sys_getpeername
|
||||
369 common sendto sys_sendto
|
||||
370 common sendmsg sys_sendmsg
|
||||
371 common recvfrom sys_recvfrom
|
||||
372 common recvmsg sys_recvmsg
|
||||
373 common shutdown sys_shutdown
|
||||
374 common mlock2 sys_mlock2
|
||||
375 common copy_file_range sys_copy_file_range
|
||||
376 common preadv2 sys_preadv2
|
||||
377 common pwritev2 sys_pwritev2
|
||||
378 common s390_guarded_storage sys_s390_guarded_storage
|
||||
379 common statx sys_statx
|
||||
380 common s390_sthyi sys_s390_sthyi
|
||||
381 common kexec_file_load sys_kexec_file_load
|
||||
382 common io_pgetevents sys_io_pgetevents
|
||||
383 common rseq sys_rseq
|
||||
384 common pkey_mprotect sys_pkey_mprotect
|
||||
385 common pkey_alloc sys_pkey_alloc
|
||||
386 common pkey_free sys_pkey_free
|
||||
# room for arch specific syscalls
|
||||
392 64 semtimedop sys_semtimedop -
|
||||
393 common semget sys_semget sys_semget
|
||||
394 common semctl sys_semctl compat_sys_semctl
|
||||
395 common shmget sys_shmget sys_shmget
|
||||
396 common shmctl sys_shmctl compat_sys_shmctl
|
||||
397 common shmat sys_shmat compat_sys_shmat
|
||||
398 common shmdt sys_shmdt sys_shmdt
|
||||
399 common msgget sys_msgget sys_msgget
|
||||
400 common msgsnd sys_msgsnd compat_sys_msgsnd
|
||||
401 common msgrcv sys_msgrcv compat_sys_msgrcv
|
||||
402 common msgctl sys_msgctl compat_sys_msgctl
|
||||
403 32 clock_gettime64 - sys_clock_gettime
|
||||
404 32 clock_settime64 - sys_clock_settime
|
||||
405 32 clock_adjtime64 - sys_clock_adjtime
|
||||
406 32 clock_getres_time64 - sys_clock_getres
|
||||
407 32 clock_nanosleep_time64 - sys_clock_nanosleep
|
||||
408 32 timer_gettime64 - sys_timer_gettime
|
||||
409 32 timer_settime64 - sys_timer_settime
|
||||
410 32 timerfd_gettime64 - sys_timerfd_gettime
|
||||
411 32 timerfd_settime64 - sys_timerfd_settime
|
||||
412 32 utimensat_time64 - sys_utimensat
|
||||
413 32 pselect6_time64 - compat_sys_pselect6_time64
|
||||
414 32 ppoll_time64 - compat_sys_ppoll_time64
|
||||
416 32 io_pgetevents_time64 - compat_sys_io_pgetevents_time64
|
||||
417 32 recvmmsg_time64 - compat_sys_recvmmsg_time64
|
||||
418 32 mq_timedsend_time64 - sys_mq_timedsend
|
||||
419 32 mq_timedreceive_time64 - sys_mq_timedreceive
|
||||
420 32 semtimedop_time64 - sys_semtimedop
|
||||
421 32 rt_sigtimedwait_time64 - compat_sys_rt_sigtimedwait_time64
|
||||
422 32 futex_time64 - sys_futex
|
||||
423 32 sched_rr_get_interval_time64 - sys_sched_rr_get_interval
|
||||
424 common pidfd_send_signal sys_pidfd_send_signal sys_pidfd_send_signal
|
||||
425 common io_uring_setup sys_io_uring_setup sys_io_uring_setup
|
||||
426 common io_uring_enter sys_io_uring_enter sys_io_uring_enter
|
||||
427 common io_uring_register sys_io_uring_register sys_io_uring_register
|
||||
428 common open_tree sys_open_tree sys_open_tree
|
||||
429 common move_mount sys_move_mount sys_move_mount
|
||||
430 common fsopen sys_fsopen sys_fsopen
|
||||
431 common fsconfig sys_fsconfig sys_fsconfig
|
||||
432 common fsmount sys_fsmount sys_fsmount
|
||||
433 common fspick sys_fspick sys_fspick
|
||||
434 common pidfd_open sys_pidfd_open sys_pidfd_open
|
||||
435 common clone3 sys_clone3 sys_clone3
|
||||
436 common close_range sys_close_range sys_close_range
|
||||
437 common openat2 sys_openat2 sys_openat2
|
||||
438 common pidfd_getfd sys_pidfd_getfd sys_pidfd_getfd
|
||||
439 common faccessat2 sys_faccessat2 sys_faccessat2
|
||||
440 common process_madvise sys_process_madvise sys_process_madvise
|
||||
441 common epoll_pwait2 sys_epoll_pwait2 compat_sys_epoll_pwait2
|
||||
442 common mount_setattr sys_mount_setattr sys_mount_setattr
|
||||
443 common quotactl_fd sys_quotactl_fd sys_quotactl_fd
|
||||
444 common landlock_create_ruleset sys_landlock_create_ruleset sys_landlock_create_ruleset
|
||||
445 common landlock_add_rule sys_landlock_add_rule sys_landlock_add_rule
|
||||
446 common landlock_restrict_self sys_landlock_restrict_self sys_landlock_restrict_self
|
||||
447 common memfd_secret sys_memfd_secret sys_memfd_secret
|
||||
448 common process_mrelease sys_process_mrelease sys_process_mrelease
|
||||
449 common futex_waitv sys_futex_waitv sys_futex_waitv
|
||||
450 common set_mempolicy_home_node sys_set_mempolicy_home_node sys_set_mempolicy_home_node
|
||||
451 common cachestat sys_cachestat sys_cachestat
|
||||
452 common fchmodat2 sys_fchmodat2 sys_fchmodat2
|
||||
453 common map_shadow_stack sys_map_shadow_stack sys_map_shadow_stack
|
||||
454 common futex_wake sys_futex_wake sys_futex_wake
|
||||
455 common futex_wait sys_futex_wait sys_futex_wait
|
||||
456 common futex_requeue sys_futex_requeue sys_futex_requeue
|
||||
457 common statmount sys_statmount sys_statmount
|
||||
458 common listmount sys_listmount sys_listmount
|
||||
459 common lsm_get_self_attr sys_lsm_get_self_attr sys_lsm_get_self_attr
|
||||
460 common lsm_set_self_attr sys_lsm_set_self_attr sys_lsm_set_self_attr
|
||||
461 common lsm_list_modules sys_lsm_list_modules sys_lsm_list_modules
|
||||
462 common mseal sys_mseal sys_mseal
|
||||
463 common setxattrat sys_setxattrat sys_setxattrat
|
||||
464 common getxattrat sys_getxattrat sys_getxattrat
|
||||
465 common listxattrat sys_listxattrat sys_listxattrat
|
||||
466 common removexattrat sys_removexattrat sys_removexattrat
|
||||
467 common open_tree_attr sys_open_tree_attr sys_open_tree_attr
|
||||
468 common file_getattr sys_file_getattr sys_file_getattr
|
||||
469 common file_setattr sys_file_setattr sys_file_setattr
|
||||
470 common listns sys_listns sys_listns
|
||||
392 common semtimedop sys_semtimedop
|
||||
393 common semget sys_semget
|
||||
394 common semctl sys_semctl
|
||||
395 common shmget sys_shmget
|
||||
396 common shmctl sys_shmctl
|
||||
397 common shmat sys_shmat
|
||||
398 common shmdt sys_shmdt
|
||||
399 common msgget sys_msgget
|
||||
400 common msgsnd sys_msgsnd
|
||||
401 common msgrcv sys_msgrcv
|
||||
402 common msgctl sys_msgctl
|
||||
424 common pidfd_send_signal sys_pidfd_send_signal
|
||||
425 common io_uring_setup sys_io_uring_setup
|
||||
426 common io_uring_enter sys_io_uring_enter
|
||||
427 common io_uring_register sys_io_uring_register
|
||||
428 common open_tree sys_open_tree
|
||||
429 common move_mount sys_move_mount
|
||||
430 common fsopen sys_fsopen
|
||||
431 common fsconfig sys_fsconfig
|
||||
432 common fsmount sys_fsmount
|
||||
433 common fspick sys_fspick
|
||||
434 common pidfd_open sys_pidfd_open
|
||||
435 common clone3 sys_clone3
|
||||
436 common close_range sys_close_range
|
||||
437 common openat2 sys_openat2
|
||||
438 common pidfd_getfd sys_pidfd_getfd
|
||||
439 common faccessat2 sys_faccessat2
|
||||
440 common process_madvise sys_process_madvise
|
||||
441 common epoll_pwait2 sys_epoll_pwait2
|
||||
442 common mount_setattr sys_mount_setattr
|
||||
443 common quotactl_fd sys_quotactl_fd
|
||||
444 common landlock_create_ruleset sys_landlock_create_ruleset
|
||||
445 common landlock_add_rule sys_landlock_add_rule
|
||||
446 common landlock_restrict_self sys_landlock_restrict_self
|
||||
447 common memfd_secret sys_memfd_secret
|
||||
448 common process_mrelease sys_process_mrelease
|
||||
449 common futex_waitv sys_futex_waitv
|
||||
450 common set_mempolicy_home_node sys_set_mempolicy_home_node
|
||||
451 common cachestat sys_cachestat
|
||||
452 common fchmodat2 sys_fchmodat2
|
||||
453 common map_shadow_stack sys_map_shadow_stack
|
||||
454 common futex_wake sys_futex_wake
|
||||
455 common futex_wait sys_futex_wait
|
||||
456 common futex_requeue sys_futex_requeue
|
||||
457 common statmount sys_statmount
|
||||
458 common listmount sys_listmount
|
||||
459 common lsm_get_self_attr sys_lsm_get_self_attr
|
||||
460 common lsm_set_self_attr sys_lsm_set_self_attr
|
||||
461 common lsm_list_modules sys_lsm_list_modules
|
||||
462 common mseal sys_mseal
|
||||
463 common setxattrat sys_setxattrat
|
||||
464 common getxattrat sys_getxattrat
|
||||
465 common listxattrat sys_listxattrat
|
||||
466 common removexattrat sys_removexattrat
|
||||
467 common open_tree_attr sys_open_tree_attr
|
||||
468 common file_getattr sys_file_getattr
|
||||
469 common file_setattr sys_file_setattr
|
||||
470 common listns sys_listns
|
||||
471 common rseq_slice_yield sys_rseq_slice_yield
|
||||
|
||||
@@ -474,3 +474,4 @@
|
||||
468 common file_getattr sys_file_getattr
|
||||
469 common file_setattr sys_file_setattr
|
||||
470 common listns sys_listns
|
||||
471 common rseq_slice_yield sys_rseq_slice_yield
|
||||
|
||||
@@ -480,7 +480,7 @@
|
||||
432 common fsmount sys_fsmount
|
||||
433 common fspick sys_fspick
|
||||
434 common pidfd_open sys_pidfd_open
|
||||
# 435 reserved for clone3
|
||||
435 common clone3 __sys_clone3
|
||||
436 common close_range sys_close_range
|
||||
437 common openat2 sys_openat2
|
||||
438 common pidfd_getfd sys_pidfd_getfd
|
||||
@@ -516,3 +516,4 @@
|
||||
468 common file_getattr sys_file_getattr
|
||||
469 common file_setattr sys_file_setattr
|
||||
470 common listns sys_listns
|
||||
471 common rseq_slice_yield sys_rseq_slice_yield
|
||||
|
||||
@@ -476,3 +476,4 @@
|
||||
468 i386 file_getattr sys_file_getattr
|
||||
469 i386 file_setattr sys_file_setattr
|
||||
470 i386 listns sys_listns
|
||||
471 i386 rseq_slice_yield sys_rseq_slice_yield
|
||||
|
||||
@@ -395,6 +395,7 @@
|
||||
468 common file_getattr sys_file_getattr
|
||||
469 common file_setattr sys_file_setattr
|
||||
470 common listns sys_listns
|
||||
471 common rseq_slice_yield sys_rseq_slice_yield
|
||||
|
||||
#
|
||||
# Due to a historical design error, certain syscalls are numbered differently
|
||||
|
||||
@@ -441,3 +441,4 @@
|
||||
468 common file_getattr sys_file_getattr
|
||||
469 common file_setattr sys_file_setattr
|
||||
470 common listns sys_listns
|
||||
471 common rseq_slice_yield sys_rseq_slice_yield
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <poll.h>
|
||||
#include <ctype.h>
|
||||
#include <linux/capability.h>
|
||||
#include <linux/err.h>
|
||||
#include <linux/string.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -1209,8 +1210,12 @@ static int prepare_func_profile(struct perf_ftrace *ftrace)
|
||||
ftrace->graph_verbose = 0;
|
||||
|
||||
ftrace->profile_hash = hashmap__new(profile_hash, profile_equal, NULL);
|
||||
if (ftrace->profile_hash == NULL)
|
||||
return -ENOMEM;
|
||||
if (IS_ERR(ftrace->profile_hash)) {
|
||||
int err = PTR_ERR(ftrace->profile_hash);
|
||||
|
||||
ftrace->profile_hash = NULL;
|
||||
return err;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -214,7 +214,8 @@ ifneq ($(strip $(ORPHAN_FILES)),)
|
||||
quiet_cmd_rm = RM $^
|
||||
|
||||
prune_orphans: $(ORPHAN_FILES)
|
||||
$(Q)$(call echo-cmd,rm)rm -f $^
|
||||
# The list of files can be long. Use xargs to prevent issues.
|
||||
$(Q)$(call echo-cmd,rm)echo "$^" | xargs rm -f
|
||||
|
||||
JEVENTS_DEPS += prune_orphans
|
||||
endif
|
||||
|
||||
@@ -77,6 +77,7 @@
|
||||
*/
|
||||
#define IRQ_WORK_VECTOR 0xf6
|
||||
|
||||
/* IRQ vector for PMIs when running a guest with a mediated PMU. */
|
||||
#define PERF_GUEST_MEDIATED_PMI_VECTOR 0xf5
|
||||
|
||||
#define DEFERRED_ERROR_VECTOR 0xf4
|
||||
|
||||
@@ -253,6 +253,7 @@ struct file_attr {
|
||||
#define FS_XFLAG_FILESTREAM 0x00004000 /* use filestream allocator */
|
||||
#define FS_XFLAG_DAX 0x00008000 /* use DAX for IO */
|
||||
#define FS_XFLAG_COWEXTSIZE 0x00010000 /* CoW extent size allocator hint */
|
||||
#define FS_XFLAG_VERITY 0x00020000 /* fs-verity enabled */
|
||||
#define FS_XFLAG_HASATTR 0x80000000 /* no DIFLAG for this */
|
||||
|
||||
/* the read-only stuff doesn't really belong here, but any other place is
|
||||
|
||||
@@ -61,7 +61,8 @@
|
||||
/*
|
||||
* open_tree() flags.
|
||||
*/
|
||||
#define OPEN_TREE_CLONE 1 /* Clone the target tree and attach the clone */
|
||||
#define OPEN_TREE_CLONE (1 << 0) /* Clone the target tree and attach the clone */
|
||||
#define OPEN_TREE_NAMESPACE (1 << 1) /* Clone the target tree into a new mount namespace */
|
||||
#define OPEN_TREE_CLOEXEC O_CLOEXEC /* Close the file on execve() */
|
||||
|
||||
/*
|
||||
@@ -197,7 +198,10 @@ struct statmount {
|
||||
*/
|
||||
struct mnt_id_req {
|
||||
__u32 size;
|
||||
__u32 mnt_ns_fd;
|
||||
union {
|
||||
__u32 mnt_ns_fd;
|
||||
__u32 mnt_fd;
|
||||
};
|
||||
__u64 mnt_id;
|
||||
__u64 param;
|
||||
__u64 mnt_ns_id;
|
||||
@@ -232,4 +236,9 @@ struct mnt_id_req {
|
||||
#define LSMT_ROOT 0xffffffffffffffff /* root mount */
|
||||
#define LISTMOUNT_REVERSE (1 << 0) /* List later mounts first */
|
||||
|
||||
/*
|
||||
* @flag bits for statmount(2)
|
||||
*/
|
||||
#define STATMOUNT_BY_FD 0x00000001U /* want mountinfo for given fd */
|
||||
|
||||
#endif /* _UAPI_LINUX_MOUNT_H */
|
||||
|
||||
@@ -386,4 +386,41 @@ struct prctl_mm_map {
|
||||
# define PR_FUTEX_HASH_SET_SLOTS 1
|
||||
# define PR_FUTEX_HASH_GET_SLOTS 2
|
||||
|
||||
/* RSEQ time slice extensions */
|
||||
#define PR_RSEQ_SLICE_EXTENSION 79
|
||||
# define PR_RSEQ_SLICE_EXTENSION_GET 1
|
||||
# define PR_RSEQ_SLICE_EXTENSION_SET 2
|
||||
/*
|
||||
* Bits for RSEQ_SLICE_EXTENSION_GET/SET
|
||||
* PR_RSEQ_SLICE_EXT_ENABLE: Enable
|
||||
*/
|
||||
# define PR_RSEQ_SLICE_EXT_ENABLE 0x01
|
||||
|
||||
/*
|
||||
* Get the current indirect branch tracking configuration for the current
|
||||
* thread, this will be the value configured via PR_SET_INDIR_BR_LP_STATUS.
|
||||
*/
|
||||
#define PR_GET_INDIR_BR_LP_STATUS 80
|
||||
|
||||
/*
|
||||
* Set the indirect branch tracking configuration. PR_INDIR_BR_LP_ENABLE will
|
||||
* enable cpu feature for user thread, to track all indirect branches and ensure
|
||||
* they land on arch defined landing pad instruction.
|
||||
* x86 - If enabled, an indirect branch must land on an ENDBRANCH instruction.
|
||||
* arch64 - If enabled, an indirect branch must land on a BTI instruction.
|
||||
* riscv - If enabled, an indirect branch must land on an lpad instruction.
|
||||
* PR_INDIR_BR_LP_DISABLE will disable feature for user thread and indirect
|
||||
* branches will no more be tracked by cpu to land on arch defined landing pad
|
||||
* instruction.
|
||||
*/
|
||||
#define PR_SET_INDIR_BR_LP_STATUS 81
|
||||
# define PR_INDIR_BR_LP_ENABLE (1UL << 0)
|
||||
|
||||
/*
|
||||
* Prevent further changes to the specified indirect branch tracking
|
||||
* configuration. All bits may be locked via this call, including
|
||||
* undefined bits.
|
||||
*/
|
||||
#define PR_LOCK_INDIR_BR_LP_STATUS 82
|
||||
|
||||
#endif /* _LINUX_PRCTL_H */
|
||||
|
||||
@@ -93,7 +93,7 @@ static int loongarch_jump__parse(const struct arch *arch, struct ins_operands *o
|
||||
start = map__unmap_ip(map, sym->start);
|
||||
end = map__unmap_ip(map, sym->end);
|
||||
|
||||
ops->target.outside = target.addr < start || target.addr > end;
|
||||
ops->target.outside = target.addr < start || target.addr >= end;
|
||||
|
||||
if (maps__find_ams(thread__maps(ms->thread), &target) == 0 &&
|
||||
map__rip_2objdump(target.ms.map, map__map_ip(target.ms.map, target.addr)) == ops->target.addr)
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
#include "strbuf.h"
|
||||
#include <regex.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/err.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/zalloc.h>
|
||||
@@ -137,8 +138,10 @@ static int annotated_source__alloc_histograms(struct annotated_source *src,
|
||||
return -1;
|
||||
|
||||
src->samples = hashmap__new(sym_hist_hash, sym_hist_equal, NULL);
|
||||
if (src->samples == NULL)
|
||||
if (IS_ERR(src->samples)) {
|
||||
zfree(&src->histograms);
|
||||
src->samples = NULL;
|
||||
}
|
||||
|
||||
return src->histograms ? 0 : -1;
|
||||
}
|
||||
|
||||
@@ -549,7 +549,7 @@ cs_etm_decoder__set_tid(struct cs_etm_queue *etmq,
|
||||
/*
|
||||
* Process the PE_CONTEXT packets if we have a valid contextID or VMID.
|
||||
* If the kernel is running at EL2, the PID is traced in CONTEXTIDR_EL2
|
||||
* as VMID, Bit ETM_OPT_CTXTID2 is set in this case.
|
||||
* as VMID, Format attribute 'contextid2' is set in this case.
|
||||
*/
|
||||
switch (cs_etm__get_pid_fmt(etmq)) {
|
||||
case CS_ETM_PIDFMT_CTXTID:
|
||||
|
||||
@@ -194,7 +194,7 @@ int cs_etm__get_cpu(struct cs_etm_queue *etmq, u8 trace_chan_id, int *cpu)
|
||||
* CS_ETM_PIDFMT_CTXTID2: CONTEXTIDR_EL2 is traced.
|
||||
* CS_ETM_PIDFMT_NONE: No context IDs
|
||||
*
|
||||
* It's possible that the two bits ETM_OPT_CTXTID and ETM_OPT_CTXTID2
|
||||
* It's possible that the two format attributes 'contextid1' and 'contextid2'
|
||||
* are enabled at the same time when the session runs on an EL2 kernel.
|
||||
* This means the CONTEXTIDR_EL1 and CONTEXTIDR_EL2 both will be
|
||||
* recorded in the trace data, the tool will selectively use
|
||||
@@ -210,15 +210,15 @@ static enum cs_etm_pid_fmt cs_etm__init_pid_fmt(u64 *metadata)
|
||||
if (metadata[CS_ETM_MAGIC] == __perf_cs_etmv3_magic) {
|
||||
val = metadata[CS_ETM_ETMCR];
|
||||
/* CONTEXTIDR is traced */
|
||||
if (val & BIT(ETM_OPT_CTXTID))
|
||||
if (val & ETMCR_CTXTID)
|
||||
return CS_ETM_PIDFMT_CTXTID;
|
||||
} else {
|
||||
val = metadata[CS_ETMV4_TRCCONFIGR];
|
||||
/* CONTEXTIDR_EL2 is traced */
|
||||
if (val & (BIT(ETM4_CFG_BIT_VMID) | BIT(ETM4_CFG_BIT_VMID_OPT)))
|
||||
if (val & (TRCCONFIGR_VMID | TRCCONFIGR_VMIDOPT))
|
||||
return CS_ETM_PIDFMT_CTXTID2;
|
||||
/* CONTEXTIDR_EL1 is traced */
|
||||
else if (val & BIT(ETM4_CFG_BIT_CTXTID))
|
||||
else if (val & TRCCONFIGR_CID)
|
||||
return CS_ETM_PIDFMT_CTXTID;
|
||||
}
|
||||
|
||||
@@ -2914,29 +2914,21 @@ static int cs_etm__process_auxtrace_event(struct perf_session *session,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int cs_etm__setup_timeless_decoding(struct cs_etm_auxtrace *etm)
|
||||
static void cs_etm__setup_timeless_decoding(struct cs_etm_auxtrace *etm)
|
||||
{
|
||||
struct evsel *evsel;
|
||||
struct evlist *evlist = etm->session->evlist;
|
||||
/* Take first ETM as all options will be the same for all ETMs */
|
||||
u64 *metadata = etm->metadata[0];
|
||||
|
||||
/* Override timeless mode with user input from --itrace=Z */
|
||||
if (etm->synth_opts.timeless_decoding) {
|
||||
etm->timeless_decoding = true;
|
||||
return 0;
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Find the cs_etm evsel and look at what its timestamp setting was
|
||||
*/
|
||||
evlist__for_each_entry(evlist, evsel)
|
||||
if (cs_etm__evsel_is_auxtrace(etm->session, evsel)) {
|
||||
etm->timeless_decoding =
|
||||
!(evsel->core.attr.config & BIT(ETM_OPT_TS));
|
||||
return 0;
|
||||
}
|
||||
|
||||
pr_err("CS ETM: Couldn't find ETM evsel\n");
|
||||
return -EINVAL;
|
||||
if (metadata[CS_ETM_MAGIC] == __perf_cs_etmv3_magic)
|
||||
etm->timeless_decoding = !(metadata[CS_ETM_ETMCR] & ETMCR_TIMESTAMP_EN);
|
||||
else
|
||||
etm->timeless_decoding = !(metadata[CS_ETMV4_TRCCONFIGR] & TRCCONFIGR_TS);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -3499,9 +3491,7 @@ int cs_etm__process_auxtrace_info_full(union perf_event *event,
|
||||
etm->auxtrace.evsel_is_auxtrace = cs_etm__evsel_is_auxtrace;
|
||||
session->auxtrace = &etm->auxtrace;
|
||||
|
||||
err = cs_etm__setup_timeless_decoding(etm);
|
||||
if (err)
|
||||
return err;
|
||||
cs_etm__setup_timeless_decoding(etm);
|
||||
|
||||
etm->tc.time_shift = tc->time_shift;
|
||||
etm->tc.time_mult = tc->time_mult;
|
||||
|
||||
@@ -230,6 +230,21 @@ struct cs_etm_packet_queue {
|
||||
/* CoreSight trace ID is currently the bottom 7 bits of the value */
|
||||
#define CORESIGHT_TRACE_ID_VAL_MASK GENMASK(6, 0)
|
||||
|
||||
/* ETMv4 CONFIGR register bits */
|
||||
#define TRCCONFIGR_BB BIT(3)
|
||||
#define TRCCONFIGR_CCI BIT(4)
|
||||
#define TRCCONFIGR_CID BIT(6)
|
||||
#define TRCCONFIGR_VMID BIT(7)
|
||||
#define TRCCONFIGR_TS BIT(11)
|
||||
#define TRCCONFIGR_RS BIT(12)
|
||||
#define TRCCONFIGR_VMIDOPT BIT(15)
|
||||
|
||||
/* ETMv3 ETMCR register bits */
|
||||
#define ETMCR_CYC_ACC BIT(12)
|
||||
#define ETMCR_CTXTID BIT(14)
|
||||
#define ETMCR_TIMESTAMP_EN BIT(28)
|
||||
#define ETMCR_RETURN_STACK BIT(29)
|
||||
|
||||
int cs_etm__process_auxtrace_info(union perf_event *event,
|
||||
struct perf_session *session);
|
||||
void cs_etm_get_default_config(const struct perf_pmu *pmu, struct perf_event_attr *attr);
|
||||
|
||||
@@ -384,7 +384,7 @@ static int jump__parse(const struct arch *arch, struct ins_operands *ops, struct
|
||||
start = map__unmap_ip(map, sym->start);
|
||||
end = map__unmap_ip(map, sym->end);
|
||||
|
||||
ops->target.outside = target.addr < start || target.addr > end;
|
||||
ops->target.outside = target.addr < start || target.addr >= end;
|
||||
|
||||
/*
|
||||
* FIXME: things like this in _cpp_lex_token (gcc's cc1 program):
|
||||
|
||||
@@ -703,6 +703,11 @@ static int perf_event__synthesize_modules_maps_cb(struct map *map, void *data)
|
||||
|
||||
memcpy(event->mmap2.filename, dso__long_name(dso), dso__long_name_len(dso) + 1);
|
||||
|
||||
/* Clear stale build ID from previous module iteration */
|
||||
event->mmap2.header.misc &= ~PERF_RECORD_MISC_MMAP_BUILD_ID;
|
||||
memset(event->mmap2.build_id, 0, sizeof(event->mmap2.build_id));
|
||||
event->mmap2.build_id_size = 0;
|
||||
|
||||
perf_record_mmap2__read_build_id(&event->mmap2, args->machine, false);
|
||||
} else {
|
||||
size = PERF_ALIGN(dso__long_name_len(dso) + 1, sizeof(u64));
|
||||
|
||||
@@ -411,3 +411,4 @@
|
||||
468 common file_getattr sys_file_getattr
|
||||
469 common file_setattr sys_file_setattr
|
||||
470 common listns sys_listns
|
||||
471 common rseq_slice_yield sys_rseq_slice_yield
|
||||
|
||||
Reference in New Issue
Block a user