diff options
author | Dave Barach <dave@barachs.net> | 2018-12-17 15:55:52 -0500 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2018-12-17 23:12:54 +0000 |
commit | bef3619d259b43f4bf4bfd43db1338ddb10a8c39 (patch) | |
tree | 5a71176c9a241c75de2dbd04bedd5f9c78ccffe9 /src/plugins/nat/nat.api | |
parent | 82b22f75b903adf6323c1aeb35f1ba2884d1ce87 (diff) |
Improve perfmon json table picker
Built a tool to chew up https://download.01.org/perfmon/mapfile.csv,
and output a table in this format:
typedef struct {
u8 model;
u8 stepping;
u8 has_stepping;
char *filename;
} file_by_model_and_stepping_t;
static const file_by_model_and_stepping_t fms_table [] =
{
/* model, stepping, stepping valid, file */
{ 0x2E, 0x0, 0, "NehalemEX_core_V2.json" },
{ 0x1E, 0x0, 0, "NehalemEP_core_V2.json" },
<snip>
{ 0x55, 0x5, 1, "cascadelakex_core_v1.00.json" },
{ 0x55, 0x6, 1, "cascadelakex_core_v1.00.json" },
{ 0x55, 0x7, 1, "cascadelakex_core_v1.00.json" },
<snip>
Change-Id: Ie0e8a7e851799e9d060b966047745039c066ec7b
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/plugins/nat/nat.api')
0 files changed, 0 insertions, 0 deletions