Messages in this thread | | | Date | Tue, 19 Jun 2018 12:16:21 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH 2/3 v2] perf alias: Rebuild alias expression string to make it comparable |
| |
Em Fri, Jun 15, 2018 at 12:11:04PM +0200, Thomas Richter escreveu: > PMU alias definitions in sysfs files may have spaces, newlines > and numbers with leading zeroes. Some alias definitions may > also appear in JSON files without spaces, etc. > > Scan alias definitions and remove leading zeroes, spaces, > newlines, etc and rebuild string to make alias->str member > comparable. > > s390 for example has terms specified as > event=0x0091 (read from files ../<PMU>/events/<FILE> > and terms specified as event=0x91 (read from JSON files).
Applying, I think Jiri agreed with this one in the v1 post, right?
- Arnaldo
| |