]> Git Repo - linux.git/commitdiff
Merge tag 'perf-urgent-for-mingo-5.3-20190729' of git://git.kernel.org/pub/scm/linux...
authorIngo Molnar <[email protected]>
Mon, 29 Jul 2019 21:24:07 +0000 (23:24 +0200)
committerIngo Molnar <[email protected]>
Mon, 29 Jul 2019 21:24:07 +0000 (23:24 +0200)
Pull perf/urgent fixes from Arnaldo Carvalho de Melo:

perf header:

  Vince Weaver:

  - Fix divide by zero error if f_header.attr_size==0, found using a perf tool fuzzer.

  Numfor Mbiziwo-Tiapo:

  - Silence use of uninitialized value warning pointed out by clang's MSAN tool.

libbpf:

  Andrii Nakryiko:

  - Fix missing __WORDSIZE definition in some systems, such as musl libc (Alpine Linux).

tools header UAPI:

  Arnaldo Carvalho de Melo:

  - Sync headers to address perf build warnings:

    - syscalls_64.tbl and generic unistd.h to pick up clone3 and pidfd_open.

    - With new ioctls: kvm.h, drm.h and usbdevice_fs.h.

    - No tooling change: mman.h, sched.h and if_link.h.

Documentation:

  Vince Weaver:

  - Fix perf.data documentation units for memory size, its kB, not bytes.

Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
1  2 
tools/include/uapi/linux/kvm.h

index e7c67be7c15fc3cd429deb6c30f9aa6fe318773e,a7c19540ce21e6410ed3055cb5a27419a8f5d9db..5e3f12d5359e731290e499c0733e9b6fb496158e
@@@ -116,7 -116,7 +116,7 @@@ struct kvm_irq_level 
         * ACPI gsi notion of irq.
         * For IA-64 (APIC model) IOAPIC0: irq 0-23; IOAPIC1: irq 24-47..
         * For X86 (standard AT mode) PIC0/1: irq 0-15. IOAPIC0: 0-23..
 -       * For ARM: See Documentation/virtual/kvm/api.txt
 +       * For ARM: See Documentation/virt/kvm/api.txt
         */
        union {
                __u32 irq;
@@@ -995,6 -995,7 +995,7 @@@ struct kvm_ppc_resize_hpt 
  #define KVM_CAP_ARM_SVE 170
  #define KVM_CAP_ARM_PTRAUTH_ADDRESS 171
  #define KVM_CAP_ARM_PTRAUTH_GENERIC 172
+ #define KVM_CAP_PMU_EVENT_FILTER 173
  
  #ifdef KVM_CAP_IRQ_ROUTING
  
@@@ -1085,7 -1086,7 +1086,7 @@@ struct kvm_xen_hvm_config 
   *
   * KVM_IRQFD_FLAG_RESAMPLE indicates resamplefd is valid and specifies
   * the irqfd to operate in resampling mode for level triggered interrupt
 - * emulation.  See Documentation/virtual/kvm/api.txt.
 + * emulation.  See Documentation/virt/kvm/api.txt.
   */
  #define KVM_IRQFD_FLAG_RESAMPLE (1 << 1)
  
@@@ -1329,6 -1330,8 +1330,8 @@@ struct kvm_s390_ucas_mapping 
  #define KVM_PPC_GET_RMMU_INFO   _IOW(KVMIO,  0xb0, struct kvm_ppc_rmmu_info)
  /* Available with KVM_CAP_PPC_GET_CPU_CHAR */
  #define KVM_PPC_GET_CPU_CHAR    _IOR(KVMIO,  0xb1, struct kvm_ppc_cpu_char)
+ /* Available with KVM_CAP_PMU_EVENT_FILTER */
+ #define KVM_SET_PMU_EVENT_FILTER  _IOW(KVMIO,  0xb2, struct kvm_pmu_event_filter)
  
  /* ioctl for vm fd */
  #define KVM_CREATE_DEVICE       _IOWR(KVMIO,  0xe0, struct kvm_create_device)
This page took 0.068786 seconds and 4 git commands to generate.