Lines Matching defs:table
271 static const char *field_to_perf(struct map *table, char *map, jsmntok_t *val)
275 for (i = 0; table[i].json; i++) {
276 if (json_streq(map, val, table[i].json))
277 return table[i].perf;
720 * Derive rest of table name from basename of the JSON file,
764 fprintf(outfp, "\t.table = 0,\n");
780 fprintf(outfp, "\t.table = pme_test_cpu,\n");
849 * table name. For us to do that, we need to somehow tweak
856 fprintf(outfp, "\t.table = %s\n", tblname);
870 * table. This would at least allow perf to build even if we can't find/use
877 pr_info("%s: Creating empty pmu_events_map[] table\n", prog);
1019 pr_info("%s: Error determining table name for %s\n", prog,
1031 * mapping table after all PMU events tables).
1062 * If mapfile refers to 'power7_core.json', we create a table
1064 * and directory tree could result in build failure due to table
1068 * i.e. if JSON file name cannot be mapped to C-style table name,
1093 * From each JSON file, create a C-style "PMU events table" from the
1099 * Write out the PMU events tables and the mapping table to pmu-event.c.