perf/core improvements and fixes:

User visible:
 
 - Switch the default callchain output mode to 'graph,0.5,caller', to make it
   look like the default for other tools, reducing the learning curve for
   people used to 'caller' based viewing (Arnaldo Carvalho de Melo)
 
 - Implement column based horizontal scrolling in the hists browser (top, report),
   making it possible to use the TUI for things like 'perf mem report' where
   there are many more columns than can fit in a terminal (Arnaldo Carvalho de Melo)
 
 - Support sorting by symbol_iaddr with perf.data files produced by
   'perf mem record' (Don Zickus)
 
 - Display DATA_SRC sample type bit, i.e. when running 'perf evlist -v' the
   "DATA_SRC" wasn't appearing when set, fix it to look like: (Jiri Olsa)
 
   cpu/mem-loads/pp: ...SNIP... sample_type: IP|TID|TIME|ADDR|CPU|PERIOD|DATA_SRC
 
 - Introduce 'P' event modified, meaning 'max precision level, please', i.e.:
 
    $ perf record -e cycles:P usleep 1
 
   Is now similar to:
 
    $ perf record usleep 1
 
   Useful, for instance, when specifying multiple events (Jiri Olsa)
 
 - Make 'perf -v' and 'perf -h' work (Jiri Olsa)
 
 - Fail properly when pattern matching fails to find a tracepoint, i.e.
   '-e non:existent' was being correctly handled, with a proper error message
   about that not being a valid event, but '-e non:existent*' wasn't,
   fix it (Jiri Olsa)
 
 Infrastructure:
 
 - Separate arch specific entries in 'perf test' and add an 'Intel CQM' one
   to be fun on x86 only (Matt Fleming)
 
 Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJWEuUpAAoJENZQFvNTUqpAx6QQALSWDWB8Dh8n3nvet40bhfka
 4Fa0C7wrizLQaj9M4pDZj4kDVjwu3KcuUZ+Hl79Lik2gbe++eFykNoOsa3B7Ndkn
 UuvbndWJ1Js+09qCGTfdOVZao9hi44RjmnCBqZmmkQFUlk7okyxQ+sF40ieVNTli
 uXiO/n0PeygsoZjl6+zumkf+Gsof7i9J0nmRvNFmo8j8hxB8F7A3fSSWw8iUnzmL
 dxXsqCWUdN6NWo4eJ43AApJ5D3sjKfDVeffGF4sIARicS/1xly0Pj2Jvhc4ZJH3e
 MvMZGddTzlit0pA/4kUp5EuN5gnAAwbybfbvpch8nRJUD+2i1uO48joUqwlr/bfV
 7/frNYrA+Cnwpmee9N2vDp9dfeocsJ66cMiBTAE8VM77H8CroXgO9XqWsFt/q9oP
 hFlbrt9XiuJSeOme5iHg4fHPHn9KFdyC9YARoi4kx6gKrT4wqutdVGlPASCoAsEs
 TyXab6blIxTSH+v2fZosQ3iY1ygifi07vXqRtnRy2/o/ttmloC9qyHxIslweEsk2
 YsvOd2FsHYMeUSG1+Lr2zfQrBQ3kUx9A/ilBhPHYTqEc28+9x725VHrAp5nJYXro
 sTdmpr4uhrCzXDzVRiv/5oFjw1ntLUvMaVOj+n3J+hDPJE752DgZeBv17WvD90SN
 qgiHPdKpkB3McoehDqMw
 =Tq8M
 -----END PGP SIGNATURE-----

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 Carvalho de Melo:

User visible changes:

  - Switch the default callchain output mode to 'graph,0.5,caller', to make it
    look like the default for other tools, reducing the learning curve for
    people used to 'caller' based viewing. (Arnaldo Carvalho de Melo)

  - Implement column based horizontal scrolling in the hists browser (top, report),
    making it possible to use the TUI for things like 'perf mem report' where
    there are many more columns than can fit in a terminal. (Arnaldo Carvalho de Melo)

  - Support sorting by symbol_iaddr with perf.data files produced by
    'perf mem record'. (Don Zickus)

  - Display DATA_SRC sample type bit, i.e. when running 'perf evlist -v' the
    "DATA_SRC" wasn't appearing when set, fix it to look like: (Jiri Olsa)

      cpu/mem-loads/pp: ...SNIP... sample_type: IP|TID|TIME|ADDR|CPU|PERIOD|DATA_SRC

  - Introduce the 'P' event modifier, meaning 'max precision level, please', i.e.:

     $ perf record -e cycles:P usleep 1

    Is now similar to:

     $ perf record usleep 1

    Useful, for instance, when specifying multiple events. (Jiri Olsa)

  - Make 'perf -v' and 'perf -h' work. (Jiri Olsa)

  - Fail properly when pattern matching fails to find a tracepoint, i.e.
    '-e non:existent' was being correctly handled, with a proper error message
    about that not being a valid event, but '-e non:existent*' wasn't,
    fix it. (Jiri Olsa)

Infrastructure changes:

  - Separate arch specific entries in 'perf test' and add an 'Intel CQM' one
    to be fun on x86 only. (Matt Fleming)

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
Ingo Molnar 2015-10-06 09:04:10 +02:00
commit 1c748dc2cb
49 changed files with 3318 additions and 3014 deletions