lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZqqULZ5pSojnixUh@x1>
Date: Wed, 31 Jul 2024 16:44:45 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Ian Rogers <irogers@...gle.com>
Cc: Kajol Jain <kjain@...ux.ibm.com>, namhyung@...nel.org,
	linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org,
	linuxppc-dev@...ts.ozlabs.org, akanksha@...ux.ibm.com,
	maddy@...ux.ibm.com, atrajeev@...ux.vnet.ibm.com,
	hbathini@...ux.ibm.com, disgoel@...ux.vnet.ibm.com
Subject: Re: [PATCH] perf vendor events power10: Update JSON/events

On Fri, Jul 26, 2024 at 11:08:55AM -0300, Arnaldo Carvalho de Melo wrote:
> On Tue, Jul 23, 2024 at 09:02:23AM -0700, Ian Rogers wrote:
> > On Mon, Jul 22, 2024 at 10:27 PM Kajol Jain <kjain@...ux.ibm.com> wrote:
> > >
> > > Update JSON/events for power10 platform with additional events.
> > > Also move PM_VECTOR_LD_CMPL event from others.json to
> > > frontend.json file.
> > >
> > > Signed-off-by: Kajol Jain <kjain@...ux.ibm.com>
> > 
> > Reviewed-by: Ian Rogers <irogers@...gle.com>
> 
> Thanks, applied to tmp.perf-tools-next,

This seems to be causing this:

Exception processing pmu-events/arch/powerpc/power10/others.json
Traceback (most recent call last):
  File "pmu-events/jevents.py", line 1309, in <module>
    main()
  File "pmu-events/jevents.py", line 1291, in main
    ftw(arch_path, [], preprocess_one_file)
  File "pmu-events/jevents.py", line 1241, in ftw
    ftw(item.path, parents + [item.name], action)
  File "pmu-events/jevents.py", line 1239, in ftw
    action(parents, item)
  File "pmu-events/jevents.py", line 623, in preprocess_one_file
    for event in read_json_events(item.path, topic):
  File "pmu-events/jevents.py", line 440, in read_json_events
    events = json.load(open(path), object_hook=JsonEvent)
  File "/usr/lib/python3.6/json/__init__.py", line 296, in load
  CC      /tmp/build/perf/bench/evlist-open-close.o
    return loads(fp.read(),
  File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 9231: ordinal not in range(128)
pmu-events/Build:35: recipe for target '/tmp/build/perf/pmu-events/pmu-events.c' failed
make[3]: *** [/tmp/build/perf/pmu-events/pmu-events.c] Error 1
make[3]: *** Deleting file '/tmp/build/perf/pmu-events/pmu-events.c'
Makefile.perf:763: recipe for target '/tmp/build/perf/pmu-events/pmu-events-in.o' failed
make[2]: *** [/tmp/build/perf/pmu-events/pmu-events-in.o] Error 2
make[2]: *** Waiting for unfinished jobs....
  CC      /tmp/build/perf/tests/hists_cumulate.o
  CC      /tmp/build/perf/arch/powerpc/util/event.o
  CC      /tmp/build/perf/bench/breakpoint.o
  CC      /tmp/build/perf/builtin-data.o


This happened in the past, I'm now trying to figure this out :-\

This was in:

toolsbuilder@...e:~$ cat dm.log/ubuntu:18.04-x-powerpc


So 32-bit powerpc, ubuntu 18.04

- Arnaldo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ