A challenge with this code is in avoiding regressions. For this reason
the jevents.py produces identical output to jevents.c, validated with a
test script and build target.
v6. Adds Tested-by from Zhengjun Xing<zhengjun.xing@xxxxxxxxxxxxxxx>
and Thomas Richter<tmricht@xxxxxxxxxxxxx>. Fixes issues spotted
by Jiri Olsa<jolsa@xxxxxxxxxx>, jsmn.c wasn't deleted and the
empty pmu-events.c didn't pass the pmu-events test. It also adds a
missing mkdir which is necessary before creating pmu-events.c and
tweaks the quiet display code in the empty case to display a gen.
v5. Adds a 2>/dev/null as suggested by David Laight