1. 30 8月, 2019 3 次提交
    • K
      perf timechart: Refactor svg_build_topology_map() · 0ac1dd5b
      Kyle Meyer 提交于
      Exchange the parameters of svg_build_topology_map() with 'struct
      perf_env *env' and adjust the function accordingly.
      
      This patch should not change any behavior, it is merely refactoring for
      the following patch.
      
      Committer notes:
      
      No need to include env.h from svghelper.h, all it needs is a forward
      declaration for 'struct perf_env', so move the include directive to
      svghelper.c, where it is really needed.
      Signed-off-by: NKyle Meyer <kyle.meyer@hpe.com>
      Reviewed-by: NJiri Olsa <jolsa@redhat.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Russ Anderson <russ.anderson@hpe.com>
      Link: http://lore.kernel.org/lkml/20190827214352.94272-2-meyerk@stormcage.eag.rdlabs.hpecorp.netSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      0ac1dd5b
    • J
      perf c2c: Display proper cpu count in nodes column · 67260e8c
      Jiri Olsa 提交于
      There's wrong bitmap considered when checking for cpu count of specific
      node.
      
      We do the needed computation for 'set' variable, but at the end we use
      the 'c2c_he->cpuset' weight, which shows misleading numbers.
      
      Fixes: 1e181b92 ("perf c2c report: Add 'node' sort key")
      Reported-by: NJoe Mario <jmario@redhat.com>
      Signed-off-by: NJiri Olsa <jolsa@kernel.org>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Michael Petlan <mpetlan@redhat.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Link: http://lore.kernel.org/lkml/20190820140219.28338-1-jolsa@kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      67260e8c
    • I
      Merge tag 'perf-core-for-mingo-5.4-20190829' of... · 39c2ca43
      Ingo Molnar 提交于
      Merge tag 'perf-core-for-mingo-5.4-20190829' 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 top:
      
        Namhyung Kim:
      
        - Decay all events in the evlist, we were decaying just the first event
          in a group.
      
        - Fix linking of histograms in different evsels in a event group with more
          than two events.
      
        With the two fixes above a command line such as:
      
          # perf top -e '{cycles,instructions,cache-misses,cache-references}
      
          Should work as expected, with four columns and with all of them being
          decayed over time, i.e. less weight is given for older samples.
      
      perf record:
      
        Arnaldo Carvalho de Melo:
      
        - Fix collection of build-ids when using setns() to get into namespaces,
          which had been broken with the introduction of the extra thread to
          react to PERF_RECORD_BPF_EVENT, i.e. to collect extra info for BPF
          programs. We need to unshare(CLONE_FS) in that thread so that the
          main one can do the setns(CLONE_NEWNS) when collectingthe build-ids.
          Without that symbol resolution gets more difficult and potentially
          misresolves symbols.
      
      core:
      
        Igor Lubashev:
      
        - Further alignment in permission checking via capabilities to how the
          kernel checks what tooling tries to do.
      
      PowerPC:
      
        Naveen N. Rao:
      
        - Sync powerpc syscall.tbl, so that 'perf trace' gets the definitions
          for recent syscalls.
      
      libperf:
      
        Jiri Olsa:
      
        - Move the rest of the PERF_RECORD_ metadata struct definitions so that
          we can use 'union perf_event'.
      
      libtraceevent:
      
        Steven Rostedt (VMware):
      
        - Do not free tep->cmdlines in add_new_comm() on failure.
      
        - Remove unneeded qsort and uses memmove instead
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      39c2ca43
  2. 29 8月, 2019 36 次提交
  3. 28 8月, 2019 1 次提交