File tree Expand file tree Collapse file tree 5 files changed +0
-16
lines changed Expand file tree Collapse file tree 5 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -112,15 +112,11 @@ const struct pmu_events_map pmu_events_map[] = {
112
112
{
113
113
.arch = "testarch" ,
114
114
.cpuid = "testcpu" ,
115
- .version = "v1" ,
116
- .type = "core" ,
117
115
.table = pme_test_soc_cpu ,
118
116
},
119
117
{
120
118
.arch = 0 ,
121
119
.cpuid = 0 ,
122
- .version = 0 ,
123
- .type = 0 ,
124
120
.table = 0 ,
125
121
},
126
122
};
Original file line number Diff line number Diff line change @@ -313,8 +313,6 @@ def print_mapping_table(archs: Sequence[str]) -> None:
313
313
_args .output_file .write ("""{
314
314
\t .arch = "testarch",
315
315
\t .cpuid = "testcpu",
316
- \t .version = "v1",
317
- \t .type = "core",
318
316
\t .table = pme_test_soc_cpu,
319
317
},
320
318
""" )
@@ -330,8 +328,6 @@ def print_mapping_table(archs: Sequence[str]) -> None:
330
328
_args .output_file .write (f"""{{
331
329
\t .arch = "{ arch } ",
332
330
\t .cpuid = "{ cpuid } ",
333
- \t .version = "{ row [1 ]} ",
334
- \t .type = "{ row [3 ]} ",
335
331
\t .table = { tblname }
336
332
}},
337
333
""" )
@@ -340,8 +336,6 @@ def print_mapping_table(archs: Sequence[str]) -> None:
340
336
_args .output_file .write ("""{
341
337
\t .arch = 0,
342
338
\t .cpuid = 0,
343
- \t .version = 0,
344
- \t .type = 0,
345
339
\t .table = 0,
346
340
}
347
341
};
Original file line number Diff line number Diff line change @@ -40,8 +40,6 @@ struct pmu_event {
40
40
struct pmu_events_map {
41
41
const char * arch ;
42
42
const char * cpuid ;
43
- const char * version ;
44
- const char * type ; /* core, uncore etc */
45
43
const struct pmu_event * table ;
46
44
};
47
45
Original file line number Diff line number Diff line change @@ -197,8 +197,6 @@ static int expand_metric_events(void)
197
197
};
198
198
const struct pmu_events_map ev_map = {
199
199
.cpuid = "test" ,
200
- .version = "1" ,
201
- .type = "core" ,
202
200
.table = pme_test ,
203
201
};
204
202
Original file line number Diff line number Diff line change @@ -81,8 +81,6 @@ static struct pmu_event pme_test[] = {
81
81
82
82
static const struct pmu_events_map map = {
83
83
.cpuid = "test" ,
84
- .version = "1" ,
85
- .type = "core" ,
86
84
.table = pme_test ,
87
85
};
88
86
You can’t perform that action at this time.
0 commit comments