1. 18 Mar, 2014 5 commits
    • Namhyung Kim's avatar
      perf symbols: Apply all filters to an addr_location · 466fa764
      Namhyung Kim authored
      Instead of bailing out as soon as we find a filter that applies, go on
      checking all of them so that we can zoom in/out filters.
      
      We also need to make sure we only update al->filtered after
      thread__find_addr_map(), because there is where al->filtered gets
      initialized to zero.
      
      This will increase the cost of processing when all we don't need this
      toggling, but will provide flexibility for the TUI and GTK+ interfaces,
      that will incur in creating the hist_entries just once.
      Signed-off-by: default avatarNamhyung Kim <namhyung.kim@lge.com>
      Acked-by: default avatarJiri Olsa <jolsa@redhat.com>
      Cc: Andi Kleen <andi@firstfloor.org>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Namhyung Kim <namhyung.kim@lge.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Link: http://lkml.kernel.org/n/tip-fhv9lhzdjxgp9w3w3668lsfw@git.kernel.org
      [ yanked this out of a previous patch ]
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      466fa764
    • Namhyung Kim's avatar
      perf symbols: Record the reason for filtering an address_location · b3cef7f6
      Namhyung Kim authored
      By turning the addr_location->filtered member from a boolean to a u8
      bitmap, reusing (and extending) the hist_filter enum for that.
      
      This patch doesn't change the logic at all, as it keeps the meaning of
      al->filtered !0 to mean that the entry _was_ filtered, so no change in
      how this value is interpreted needs to be done at this point.
      
      This will be soon used in upcoming patches.
      Signed-off-by: default avatarNamhyung Kim <namhyung.kim@lge.com>
      Acked-by: default avatarJiri Olsa <jolsa@redhat.com>
      Cc: Andi Kleen <andi@firstfloor.org>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Namhyung Kim <namhyung.kim@lge.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Link: http://lkml.kernel.org/n/tip-89hmfgtr9t22sky1lyg7nw7l@git.kernel.org
      [ yanked this out of a previous patch ]
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      b3cef7f6
    • Ramkumar Ramachandra's avatar
      perf sched: Fixup header alignment in 'latency' output · 80790e0b
      Ramkumar Ramachandra authored
      Before:
      
       ---------------------------------------------------------------------------------------------------------------
        Task                  |   Runtime ms  | Switches | Average delay ms | Maximum delay ms | Maximum delay at     |
       ---------------------------------------------------------------------------------------------------------------
        ...                   |               |          |                  |                  |
        git:24540             |    336.622 ms |       10 | avg:    0.032 ms | max:    0.062 ms | max at: 115610.111046 s
        git:24541             |      0.457 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:  0.000000 s
       -----------------------------------------------------------------------------------------
        TOTAL:                |    396.542 ms |      353 |
       ---------------------------------------------------
      
      After:
      
       -----------------------------------------------------------------------------------------------------------------
        Task                  |   Runtime ms  | Switches | Average delay ms | Maximum delay ms | Maximum delay at       |
       -----------------------------------------------------------------------------------------------------------------
        ...                   |               |          |                  |                  |
        git:24540             |    336.622 ms |       10 | avg:    0.032 ms | max:    0.062 ms | max at: 115610.111046 s
        git:24541             |      0.457 ms |        1 | avg:    0.000 ms | max:    0.000 ms | max at:      0.000000 s
       -----------------------------------------------------------------------------------------------------------------
        TOTAL:                |    396.542 ms |      353 |
       ---------------------------------------------------
      Signed-off-by: default avatarRamkumar Ramachandra <artagnon@gmail.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Link: http://lkml.kernel.org/r/1395065901-25740-1-git-send-email-artagnon@gmail.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      80790e0b
    • Ramkumar Ramachandra's avatar
      perf timechart: Fix off-by-one error in 'record' argv handling · 263f89bf
      Ramkumar Ramachandra authored
      Since 367b3152 (perf timechart: Add support for -P and -T in timechart
      recording, 2013-11-01), the 'perf timechart record' command stopped
      working:
      
        $ perf timechart record -- git status
        Workload failed: No such file or directory
      
      This happens because of an off-by-one error while preparing the argv for
      cmd_record(): it attempts to execute the command 'status' and complains
      that it doesn't exist. Fix this error.
      Signed-off-by: default avatarRamkumar Ramachandra <artagnon@gmail.com>
      Acked-by: default avatarStanislav Fomichev <stfomichev@yandex-team.ru>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Stanislav Fomichev <stfomichev@yandex-team.ru>
      Link: http://lkml.kernel.org/r/1394985965-2332-1-git-send-email-artagnon@gmail.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      263f89bf
    • Ingo Molnar's avatar
      Merge tag 'perf-core-for-mingo' of... · 0afd2d51
      Ingo Molnar authored
      Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
      
      Pull perf/core improvements and fixes from Arnaldo:
      
      User visible:
      
        * Add several futex 'perf bench' microbenchmarks (Davidlohr Bueso)
      
        * Speed up thread map generation (Don Zickus)
      
        * Fix synthesizing mmaps for threads (Don Zickus)
      
        * Fix invalid output on event group stdio report  (Namhyung Kim)
      
        * Introduce 'perf kvm --list-cmds' command line option for use by
          scripts (Ramkumar Ramachandra)
      
      Documentation:
      
        * Clarify load-latency information in the 'perf mem' docs (Andi Kleen)
      
        * Clarify x86 register naming in 'perf probe' docs (Andi Kleen)
      
      Refactorings:
      
        * hists browser refactorings to reuse code accross UIs (Namhyung Kim)
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      0afd2d51
  2. 14 Mar, 2014 17 commits
  3. 12 Mar, 2014 1 commit
  4. 11 Mar, 2014 16 commits
  5. 10 Mar, 2014 1 commit