1. 15 Jan, 2020 1 commit
    • Michael Petlan's avatar
      perf header: Use last modification time for timestamp · 8af19d66
      Michael Petlan authored
      Using .st_ctime clobbers the timestamp information in perf report header
      whenever any operation is done with the file. Even tar-ing and untar-ing
      the perf.data file (which preserves the file last modification timestamp)
      doesn't prevent that:
      
          [Michael@Diego tmp]$ ls -l perf.data
      ->	-rw-------. 1 Michael Michael 169888 Dec  2 15:23 perf.data
      
      	[Michael@Diego tmp]$ perf report --header-only
      	# ========
      ->	# captured on    : Mon Dec  2 15:23:42 2019
      	 [...]
      
      	[Michael@Diego tmp]$ tar c perf.data | xz > perf.data.tar.xz
      	[Michael@Diego tmp]$ mkdir aaa
      	[Michael@Diego tmp]$ cd aaa
      	[Michael@Diego aaa]$ xzcat ../perf.data.tar.xz | tar x
      	[Michael@Diego aaa]$ ls -l -a
      	total 172
      	drwxrwxr-x. 2 Michael Michael     23 Jan 14 11:26 .
      	drwxrwxr-x. 6 Michael Michael   4096 Jan 14 11:26 ..
      ->	-rw-------. 1 Michael Michael 169888 Dec  2 15:23 perf.data
      
      	[Michael@Diego aaa]$ perf report --header-only
      	# ========
      ->	# captured on    : Tue Jan 14 11:26:16 2020
      	 [...]
      
      When using .st_mtime instead, correct information is printed:
      
      	[Michael@Diego aaa]$ ~/acme/tools/perf/perf report --header-only
      	# ========
      ->	# captured on    : Mon Dec  2 15:23:42 2019
      	 [...]
      Signed-off-by: default avatarMichael Petlan <mpetlan@redhat.com>
      Acked-by: default avatarJiri Olsa <jolsa@kernel.org>
      LPU-Reference: 20200114104236.31555-1-mpetlan@redhat.com
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      8af19d66
  2. 14 Jan, 2020 11 commits
  3. 10 Jan, 2020 1 commit
    • Ingo Molnar's avatar
      Merge tag 'perf-core-for-mingo-5.6-20200106' of... · 53f3feeb
      Ingo Molnar authored
      Merge tag 'perf-core-for-mingo-5.6-20200106' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
      
      Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
      
      perf record:
      
        Alexey Budankov:
      
        - Adapt affinity for machines with #CPUs > 1K to overcome current 1024 CPUs
          mask size limitation of cpu_set_t type.
      
      perf report/top TUI:
      
        Arnaldo Carvalho de Melo:
      
        - Make ENTER consistently present the pop up menu with and without call
          chains, to eliminate confusion. The menu continues available at all times
          use 'm' and '+' can be used to toggle just one call chain level, 'e' for all
          the call chains for a top level histogram entry and 'E' to expand all call
          chains in all top level entries. Extra info about these options was added to
          the pop up menu entries. Pressing 'k' serves as special hotkey to go straight
          to the main vmlinux entries, to avoid having to press enter and then select
          "Zoom into the kernel DSO".
      
      perf sched timehist:
      
        David Ahern:
      
        - Add support for filtering on CPU.
      
      perf tests:
      
        Arnaldo Carvalho de Melo:
      
        - Show expected versus obtained values in bp_signal test.
      
      libperf:
      
        Jiri Olsa:
      
        - Move to tools/lib/perf.
      
        - Add man pages.
      
      libapi:
      
        Andrey Zhizhikin:
      
        - Fix gcc9 stringop-truncation compilation error.
      
      tools lib:
      
        Vitaly Chikunov:
      
        - Fix builds when glibc contains strlcpy(), which is the case for ALT Linux.
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      53f3feeb
  4. 06 Jan, 2020 20 commits
  5. 25 Dec, 2019 2 commits
  6. 23 Dec, 2019 3 commits
  7. 22 Dec, 2019 2 commits
    • Linus Torvalds's avatar
      Merge tag 'xfs-5.5-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · c6017471
      Linus Torvalds authored
      Pull xfs fixes from Darrick Wong:
       "Fix a few bugs that could lead to corrupt files, fsck complaints, and
        filesystem crashes:
      
         - Minor documentation fixes
      
         - Fix a file corruption due to read racing with an insert range
           operation.
      
         - Fix log reservation overflows when allocating large rt extents
      
         - Fix a buffer log item flags check
      
         - Don't allow administrators to mount with sunit= options that will
           cause later xfs_repair complaints about the root directory being
           suspicious because the fs geometry appeared inconsistent
      
         - Fix a non-static helper that should have been static"
      
      * tag 'xfs-5.5-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: Make the symbol 'xfs_rtalloc_log_count' static
        xfs: don't commit sunit/swidth updates to disk if that would cause repair failures
        xfs: split the sunit parameter update into two parts
        xfs: refactor agfl length computation function
        libxfs: resync with the userspace libxfs
        xfs: use bitops interface for buf log item AIL flag check
        xfs: fix log reservation overflows when allocating large rt extents
        xfs: stabilize insert range start boundary to avoid COW writeback race
        xfs: fix Sphinx documentation warning
      c6017471
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · a3965607
      Linus Torvalds authored
      Pull ext4 bug fixes from Ted Ts'o:
       "Ext4 bug fixes, including a regression fix"
      
      * tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
        ext4: clarify impact of 'commit' mount option
        ext4: fix unused-but-set-variable warning in ext4_add_entry()
        jbd2: fix kernel-doc notation warning
        ext4: use RCU API in debug_print_tree
        ext4: validate the debug_want_extra_isize mount option at parse time
        ext4: reserve revoke credits in __ext4_new_inode
        ext4: unlock on error in ext4_expand_extra_isize()
        ext4: optimize __ext4_check_dir_entry()
        ext4: check for directory entries too close to block end
        ext4: fix ext4_empty_dir() for directories with holes
      a3965607