1. Nov 15, 2016
    • Taeung Song's avatar
      perf config: Mark where are config items from (user or system) · 08d090cf
      Taeung Song authored
      
      
      To write config items to a particular config file, we should know where
      is each config section and item from.
      
      Current setting functionality of perf-config use autogenerating way by
      overwriting collected config items to a config file.
      
      For example, when collecting config items from user and system config
      files (i.e. ~/.perfconfig and $(sysconf)/perfconfig), perf_config_set
      can contain both user and system config items.  So we should know where
      each value is from to avoid merging user and system config items on user
      config file.
      
      Signed-off-by: default avatarTaeung Song <treeze.taeung@gmail.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Nambong Ha <over3025@gmail.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Wang Nan <wangnan0@huawei.com>
      Cc: Wookje Kwon <aweee0@gmail.com>
      Link: http://lkml.kernel.org/r/1478241862-31230-7-git-send-email-treeze.taeung@gmail.com
      
      
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      08d090cf
    • Taeung Song's avatar
      perf config: Add support setting variables in a config file · c6fc018a
      Taeung Song authored
      
      
      Add setting feature that can add config variables with their values to a
      config file (i.e. user or system config file) or modify config key-value
      pairs in a config file.  For the syntax examples:
      
          perf config [<file-option>] [section.name[=value] ...]
      
      e.g. You can set the ui.show-headers to false with
      
          # perf config ui.show-headers=false
      
      If you want to add or modify several config items, you can do like
      
          # perf config annotate.show_nr_jumps=false kmem.default=slab
      
      Committer notes:
      
      Testing it:
      
        $ perf config -l
        top.children=true
        report.children=false
        $
        $ perf config top.children=false
        $ perf config -l
        top.children=false
        report.children=false
        $
        $ perf config kmem.default=slab
        $ perf config -l
        top.children=false
        report.children=false
        kmem.default=slab
        $
      
      Signed-off-by: default avatarTaeung Song <treeze.taeung@gmail.com>
      Tested-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Nambong Ha <over3025@gmail.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Wang Nan <wangnan0@huawei.com>
      Cc: Wookje Kwon <aweee0@gmail.com>
      Link: http://lkml.kernel.org/r/1478241862-31230-5-git-send-email-treeze.taeung@gmail.com
      
      
      [ Combined patch with docs update with this one ]
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      c6fc018a
  2. Nov 14, 2016
  3. Nov 12, 2016
  4. Nov 08, 2016
  5. Oct 29, 2016
    • Ingo Molnar's avatar
      Merge tag 'perf-core-for-mingo-20161028' of... · 91a79e5f
      Ingo Molnar authored
      Merge tag 'perf-core-for-mingo-20161028' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
      
       into perf/core
      
      perf/core improvements and fixes from Arnaldo Carvalho de Melo:
      
      New features:
      
      - Support matching by topic in 'perf list' (Andi Kleen)
      
      User visible:
      
      - Apply cpu color only when there was activity in 'perf sched map' (Namhyung Kim)
      
      - Always show the task's COMM in 'perf sched map -v' (Namhyung Kim)
      
      - Fix hierarchy column counts in the perf hist browser (top, report), avoiding
        showing nothing after pressing the RIGHT key a number of times (Namhyung Kim)
      
      Infrastructure:
      
      - Support cascading options in libsubcmd and use it to share common options in
        'perf sched' subcommands (Namhyung Kim)
      
      - Avoid worker cacheline bouncing in 'perf bench futex' (Davidlohr Bueso)
      
      - Sanitize numeric parameters in 'perf bench futex' (Davidlohr Bueso)
      
      - Update copies of kernel files (Arnaldo Carvalho de Melo)
      
      - Fix scripting (perl, python) setup to avoid leaks (Arnaldo Carvalho de Melo)
      
      - Add missing object file to the python binding linkage list (Arnaldo Carvalho de Melo)
      
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      91a79e5f
  6. Oct 28, 2016
  7. Oct 26, 2016
  8. Oct 25, 2016
  9. Oct 24, 2016