Re: [GIT PULL 00/18] perf/core improvements and fixes
From: Christian Borntraeger
Date: Wed Apr 12 2017 - 03:13:31 EST
On 04/12/2017 07:30 AM, Ingo Molnar wrote:
>
> * Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:
>
>> Hi Ingo,
>>
>> Please consider pulling,
>>
>> - Arnaldo
>>
>> Test results at the end of this message, as usual.
>>
>> The following changes since commit 9df9078ef2086652647248ee6e82ca8f661cb3f5:
>>
>> perf/amd/uncore: Fix pr_fmt() prefix (2017-04-11 08:44:59 +0200)
>>
>> are available in the git repository at:
>>
>> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-4.12-20170411
>>
>> for you to fetch changes up to 986a5bc028a84d487c354a529730b48682d1fb41:
>>
>> perf annotate: Use stripped line instead of raw disassemble line (2017-04-11 16:22:23 -0300)
>>
>> ----------------------------------------------------------------
>> perf/core improvements and fixes:
>>
>> User visible:
>>
>> - Support s390 jump instructions in perf annotate (Christian Borntraeger)
>>
>> - When failing to setup multiple events (e.g. '-e irq_vectors:*'), state
>> which one caused the failure (Yao Jin)
>>
>> - Various fixes for pipe mode, where the output of 'perf record' is
>> written to stdout instead of to a perf.data file, fixing workloads
>> such as: (David Carrillo-Cisneros)
>>
>> $ perf record -o - noploop | perf inject -b > perf.data
>>
>> $ perf record -o - noploop | perf annotate
>>
>> Infrastructure:
>>
>> - Simplify ltrim() implementation (Arnaldo Carvalho de Melo)
>>
>> - Use ltrim() and rtrim() in places where ad-hoc equivalents were being
>> used (Taeung Song)
>>
>> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>>
>> ----------------------------------------------------------------
>> Arnaldo Carvalho de Melo (3):
>> perf callchains: Switch from strtok() to strtok_r() when parsing options
>> perf script: Use strtok_r() when parsing output field list
>> perf string: Simplify ltrim() implementation
>>
>> Christian Borntraeger (2):
>> perf annotate s390: Fix perf annotate error -95 (4.10 regression)
>> perf annotate s390: Implement jump types for perf annotate
>>
>> David Carrillo-Cisneros (6):
>> perf inject: Don't proceed if perf_session__process_event() fails
>> perf inject: Copy events when reordering events in pipe mode
>> perf tools: Describe pipe mode in perf.data-file-fomat.txt
>> perf annotate: Process attr and build_id records
>> perf session: Don't rely on evlist in pipe mode
>> perf tools: Do not print missing features in pipe-mode
>>
>> Jin Yao (1):
>> perf evsel: Return exact sub event which failed with EPERM for wildcards
>>
>> Taeung Song (6):
>> perf stat: Refactor the code to strip csv output with ltrim()
>> perf ui browser: Refactor the code to parse color configs with ltrim()
>> perf pmu: Refactor wordwrap() with ltrim()
>> perf tools: Refactor the code to strip command name with {l,r}trim()
>> perf annotate: Refactor the code to parse disassemble lines with {l,r}trim()
>> perf annotate: Use stripped line instead of raw disassemble line
>>
>> tools/perf/Documentation/perf.data-file-format.txt | 19 +++++++-
>> tools/perf/arch/s390/annotate/instructions.c | 30 ++++++++++++
>> tools/perf/builtin-annotate.c | 2 +
>> tools/perf/builtin-inject.c | 2 +
>> tools/perf/builtin-script.c | 4 +-
>> tools/perf/builtin-stat.c | 10 +---
>> tools/perf/ui/browser.c | 2 +-
>> tools/perf/util/annotate.c | 54 +++++++---------------
>> tools/perf/util/callchain.c | 4 +-
>> tools/perf/util/event.c | 11 +----
>> tools/perf/util/evsel.c | 8 +++-
>> tools/perf/util/header.c | 3 ++
>> tools/perf/util/ordered-events.c | 3 +-
>> tools/perf/util/pmu.c | 3 +-
>> tools/perf/util/session.c | 17 +++++--
>> tools/perf/util/string.c | 6 +--
>> 16 files changed, 105 insertions(+), 73 deletions(-)
>> create mode 100644 tools/perf/arch/s390/annotate/instructions.c
>
> Pulled, thanks a lot Arnaldo!
>
> Note, there was a conflict in tools/perf/util/annotate.c due to the s390 fix in
> perf/urgent. I've fixed it up, but please double check the conflict resolution I
> made in 43d5b075c400.
>
> Thanks,
>
> Ingo
>
The merge looks wrong:
dbdebdc53 (Ravi Bangoria 2016-11-23 21:33:46 +0530 133) },
3c1a42795 (Christian Borntraeger 2017-04-06 09:51:51 +0200 134) {
3c1a42795 (Christian Borntraeger 2017-04-06 09:51:51 +0200 135) .name = "s390",
d9f8dfa9b (Christian Borntraeger 2017-04-06 09:51:52 +0200 136) .init = s390__annotate_init,
e77852b32 (Christian Borntraeger 2017-04-06 09:51:51 +0200 137) .objdump = {
e77852b32 (Christian Borntraeger 2017-04-06 09:51:51 +0200 138) .comment_char = '#',
e77852b32 (Christian Borntraeger 2017-04-06 09:51:51 +0200 139) },
e77852b32 (Christian Borntraeger 2017-04-06 09:51:51 +0200 140) },
43d5b075c (Ingo Molnar 2017-04-12 07:29:13 +0200 141) {
43d5b075c (Ingo Molnar 2017-04-12 07:29:13 +0200 142) .name = "s390",
3c1a42795 (Christian Borntraeger 2017-04-06 09:51:51 +0200 143) .objdump = {
3c1a42795 (Christian Borntraeger 2017-04-06 09:51:51 +0200 144) .comment_char = '#',
3c1a42795 (Christian Borntraeger 2017-04-06 09:51:51 +0200 145) },
3c1a42795 (Christian Borntraeger 2017-04-06 09:51:51 +0200 146) },
786c1b518 (Arnaldo Carvalho de Melo 2016-11-16 15:39:50 -0300 147) };
You can delete line 141-146