diff --git a/toplev.py b/toplev.py index fe928fd9..3291021d 100755 --- a/toplev.py +++ b/toplev.py @@ -4028,7 +4028,10 @@ def runner_emaps(): runner.ectx.emap = ocperf.find_emap(pmu=runner.pmu if runner.pmu else "cpu") runner.printer.emap = ectx.emap if not runner.ectx.emap: - sys.exit("Unknown CPU or CPU event map not found.") + os.environ["OCVERBOSE"] = "1" + ocperf.find_emap() + sys.exit("Unknown CPU or CPU event map not found (EVENTMAP:%s, model:%d)" % + (os.environ["EVENTMAP"] if "EVENTMAP" in os.environ else "", cpu.mode)) if version: version += ", " version += model_setup(runner, cpu.cpu)