perf/core improvements and fixes:

- Beautify the 'kcmp' and 'prctl' syscall arguments in 'perf trace'
   (Arnaldo Carvalho de Melo)
 
 - Implement a way to print formatted output to per-event files in 'perf script'
   to facilitate generate flamegraphs, elliminating the need to write scripts to
   do that separation (yuzhoujian, Arnaldo Carvalho de Melo)
 
   Make 'perf stat --per-thread' update shadow stats to show metrics (Jiri Olsa)
 
 - Fix double mapping al->addr in callchain processing for children without self
   period (Namhyung Kim)
 
 - Fix memory leak in addr2inlines() when libbfd is not used (Namhyung Kim)
 
 - Show correct function name for srcline of callchains when libbfd is not used
   (Namhyung Kim)
 
 Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEELb9bqkb7Te0zijNb1lAW81NSqkAFAln8cN8ACgkQ1lAW81NS
 qkBO3w/9FQYQlt9klLLyTeH2Rb/azZMhaxdLb+3iplsHp1DIsgqNeHqSvs87mokO
 5+jKAa0+B1/5oM1rJ6dNg8cMpDQi3wm14oPSGdlS773lPeuz5x21Mzj6Ryyzs5DT
 E5PTe49hlT2/OAvtapN/j9asEb/y6N14TwJN2SSYcR9tb6c120KgV7ff1Tugosel
 RicjW/4Ht8k5O3pzP+yksz8a+63nr9OAn2lqtnTW3HSrM7hWJqkb0odMoGNYueQ7
 uBw8yyH/ZWnD9vTzZsW/KEk8AF9Sir2BOoKd8ydmilHFDA5OzICS3IkJBXOi1FHz
 CKa/wmFhuAF1vKrm4oEh8KTVLgREB3MC2wmL+0GPCYYprgWhQsdABmAROdsprSxW
 MNyF3CCzkpy+r4YhG2Ooy6hJP6tiodtj9lrZpulSbZWaO4dDICXu9tyJk9ssmZZA
 kXVVh55Qf3cCSiEnyn9LWr3hNrIV7aBUFC6q9vHJkEgmRuHLKbQWuEGP7HCpQc6b
 s5we2GeYYd0zSVPBU4drL6eK/ho5JsfsJcA5OzppwiAJhnFxWnZs3GMfPm8Oes9o
 hc5fNHUl7OQcnC4BPvjblBnSrtgPf0/QhGys+dymMWG0vc3ysHt7jw4Oh2rl0t6S
 DrbjYnlLM5h5KBT0Kkb4Rc970bKXEOvzZ7/gX02Z/7m/QpGIpiM=
 =j7ez
 -----END PGP SIGNATURE-----

Merge tag 'perf-core-for-mingo-4.15-20171103' 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:

 - Beautify the 'kcmp' and 'prctl' syscall arguments in 'perf trace'
   (Arnaldo Carvalho de Melo)

 - Implement a way to print formatted output to per-event files in 'perf script'
   to facilitate generate flamegraphs, elliminating the need to write scripts to
   do that separation (yuzhoujian, Arnaldo Carvalho de Melo)

   Make 'perf stat --per-thread' update shadow stats to show metrics (Jiri Olsa)

 - Fix double mapping al->addr in callchain processing for children without self
   period (Namhyung Kim)

 - Fix memory leak in addr2inlines() when libbfd is not used (Namhyung Kim)

 - Show correct function name for srcline of callchains when libbfd is not used
   (Namhyung Kim)

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 2017-11-03 15:06:53 +01:00
commit 340b5319c9
47 changed files with 999 additions and 381 deletions