Re: [PATCH 4/9] perf, tools: Automatically look for event file name for cpu v3

From: Andi Kleen
Date: Wed Jul 09 2014 - 00:08:07 EST


> Is EVENTMAP a new environment variable ? If specific to PERF, should
> we prefix it with "PERF_" to avoid collision?

It's not perf specific, but shared with other tools (e.g. pmu-tools)
>
> Would all/many architectures need this "-core" suffix or is that Intel
> specific ?

You don't need it, just specify a full name.

> Is the intent that architectures that don't need this should simply
> never set EVENTMAP variable ?

Any architecture can use EVENTMAP, it just points to a json file.

-Andi

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/