Skip to content

Update perf #1818

Merged
merged 3 commits into from
May 20, 2020
Merged

Update perf #1818

merged 3 commits into from
May 20, 2020

Commits on May 20, 2020

  1. Configuration menu
    Copy the full SHA
    dfdfe42 View commit details
    Browse the repository at this point in the history
  2. perf: Update version from 4.19.57 to 5.6.14

    Update to latest stable kernel version.
    
    After the update the following warnings are gone:
    
        Makefile.config:614: GTK2 not found, disables GTK2 support. Please install gtk2-devel or libgtk2.0-dev
    
    and
    
        Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h'
        Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
        Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/kvm.h' differs from latest version at 'arch/x86/include/uapi/asm/kvm.h'
        Warning: Kernel ABI header at 'tools/arch/x86/lib/memcpy_64.S' differs from latest version at 'arch/x86/lib/memcpy_64.S'
        Warning: Kernel ABI header at 'tools/include/uapi/linux/mman.h' differs from latest version at 'include/uapi/linux/mman.h'
        Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h'
        Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h'
        Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
        Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/kvm.h' differs from latest version at 'arch/x86/include/uapi/asm/kvm.h'
        Warning: Kernel ABI header at 'tools/arch/x86/lib/memcpy_64.S' differs from latest version at 'arch/x86/lib/memcpy_64.S'
        Warning: Kernel ABI header at 'tools/include/uapi/linux/mman.h' differs from latest version at 'include/uapi/linux/mman.h'
        Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h'
    donald committed May 20, 2020
    Configuration menu
    Copy the full SHA
    1ce5204 View commit details
    Browse the repository at this point in the history
  3. perf: Supply lower case prefix to "make install"

    The man pages can't be found:
    
        buczek@geniux:~$ perf help stat
        No manual entry for perf-stat
    
    The reason is, that the files get installed into "/" instread if "/usr",
    because upper case PREFIX seems to be ignored by the build system. So
    the man-pages where installed on the distmaster into /share/man, which
    is invalid and is not disted to other nodes.
    
        [BEE] make -j 12 install PREFIX=/usr EPREFIX=/usr BINDIR=/usr/bin SBINDIR=/usr/sbin LIBEXECDIR=/usr/libexec SYSCONFDIR=/etc SHAREDSTATEDIR=/var LOCALSTATEDIR=/var LIBDIR=/usr/lib
    INCLUDEDIR=/usr/include DATAROOTDIR=/usr/share DATADIR=/usr/share INFODIR=/usr/share/info LOCALEDIR=/usr/share/locale MANDIR=/usr/share/man DOCDIR=/usr/share/doc/perf DESTDIR=/scr
    atch/local/bee-buczek/perf/perf-5.6.14-0/image
        [...]
        -rwxr-xr-x root/root   1034256 2020-05-20 09:38 /lib/libperf-gtk.so
        drwxr-xr-x root/root         0 2020-05-20 09:38 /lib/traceevent/
        drwxr-xr-x root/root         0 2020-05-20 09:38 /lib/traceevent/plugins/
        -rwxr-xr-x root/root     18032 2020-05-20 09:38 /lib/traceevent/plugins/plugin_jbd2.so
        -rwxr-xr-x root/root     20328 2020-05-20 09:38 /lib/traceevent/plugins/plugin_hrtimer.so
        [...]
    
    Supply lower-cased prefixed argument as well, which seems to be honored:
    
        [BEE] make -j 12 install PREFIX=/usr EPREFIX=/usr BINDIR=/usr/bin SBINDIR=/usr/sbin LIBEXECDIR=/usr/libexec SYSCONFDIR=/etc SHAREDSTATEDIR=/var LOCALSTATEDIR=/var LIBDIR=/usr/lib
    INCLUDEDIR=/usr/include DATAROOTDIR=/usr/share DATADIR=/usr/share INFODIR=/usr/share/info LOCALEDIR=/usr/share/locale MANDIR=/usr/share/man DOCDIR=/usr/share/doc/perf DESTDIR=/scr
    atch/local/bee-buczek/perf/perf-5.6.14-0/image prefix=/usr
        [...]
        drwxr-xr-x root/root         0 2020-05-20 09:58 /usr/lib/traceevent/
        drwxr-xr-x root/root         0 2020-05-20 09:58 /usr/lib/traceevent/plugins/
        -rwxr-xr-x root/root     18032 2020-05-20 09:58 /usr/lib/traceevent/plugins/plugin_jbd2.so
        -rwxr-xr-x root/root     20328 2020-05-20 09:58 /usr/lib/traceevent/plugins/plugin_hrtimer.so
        [...]
    
    Because PREFIX is now honored, remove $D$PREFIX/lib/perf/examples
    instead of $D/lib/perf/examples.
    donald committed May 20, 2020
    Configuration menu
    Copy the full SHA
    eefd863 View commit details
    Browse the repository at this point in the history