All of lore.kernel.org
 help / color / mirror / Atom feed
* Perf test 7 fails on s390 since 6.12.0
@ 2024-12-02 14:53 Thomas Richter
  2024-12-03 14:37 ` James Clark
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Richter @ 2024-12-02 14:53 UTC (permalink / raw)
  To: Ian Rogers, linux-perf-use.; +Cc: Sumanth Korikkar, Heiko Carstens

I just downloaded the latest kernel tree 6.13.0rc1 and observed several
failures of the perf test suite.

This test case is the first one:
# ./perf test -F 7
Unrecognized literal '#system_tsc_freq'  7: Simple expression parser  : FAILED!
# 

# ./perf test -Fvv 7
--- start ---
Using CPUID IBM,9175,705,ME1,3.8,002f
parsing metric: 1+1
parsing metric: FOO+BAR
lookup(FOO): val 1.000000
lookup(BAR): val 2.000000
...

parsing metric: #num_cpus
literal: #num_cpus = 8.000000
parsing metric: #num_cores
literal: #num_cores = 4.000000
parsing metric: #num_dies
literal: #num_dies = 0.000000
parsing metric: #num_packages
literal: #num_packages = 1.000000
parsing metric: #system_tsc_freq
Unrecognized literal '#system_tsc_freq'literal: #system_tsc_freq = nan
FAILED tests/expr.c:252 #system_tsc_freq == 0
---- end ----
  7: Simple expression parser         : FAILED!
[root@b83lp65 perf]# 

I bisectred this to 

# git bisect good
609aa2667f67c1588d4e741110265f74b7713177 is the first bad commit
commit 609aa2667f67c1588d4e741110265f74b7713177
Author: Ian Rogers <irogers@google.com>
Date:   Tue Oct 1 20:20:12 2024 -0700

    perf tool_pmu: Switch to standard pmu functions and json descriptions
    
    Use the regular PMU approaches with tool json events to reduce the
    amount of special tool_pmu code - tool_pmu__config_terms and
    tool_pmu__for_each_event_cb are removed. Some functions remain, like
    tool_pmu__str_to_event, as conveniences to metricgroups. Add
    tool_pmu__skip_event/tool_pmu__num_skip_events to handle the case that
    tool json events shouldn't appear on certain architectures. This isn't
    done in jevents.py due to complexity in the empty-pmu-events.c and
    when all vendor json is built into the tool.
    
    Signed-off-by: Ian Rogers <irogers@google.com>
    Acked-by: Namhyung Kim <namhyung@kernel.org>
    Link: https://lore.kernel.org/r/20241002032016.333748-10-irogers@google.com
    Signed-off-by: Namhyung Kim <namhyung@kernel.org>


Note this test used to work before on s390.
It now also fails on the 6.13.0-rc1.

Any hints on how to fix this? Thanks.

-- 
Thomas Richter, Dept 3303, IBM s390 Linux Development, Boeblingen, Germany
--
IBM Deutschland Research & Development GmbH

Vorsitzender des Aufsichtsrats: Wolfgang Wendt

Geschäftsführung: David Faller

Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-04 12:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-02 14:53 Perf test 7 fails on s390 since 6.12.0 Thomas Richter
2024-12-03 14:37 ` James Clark
2024-12-03 18:10   ` Namhyung Kim
2024-12-04 12:36   ` Thomas Richter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.