Searched refs:json_streq (Results 1 – 3 of 3) sorted by relevance
/tools/perf/pmu-events/ |
D | jevents.c | 226 if (json_streq(map, field, f->field) && nz) { in match_field() 242 if (json_streq(map, &newval, msrmap[i].num)) in lookup_msr() 276 if (json_streq(map, val, table[i].json)) in field_to_perf() 571 nz = !json_streq(map, val, "0"); in json_events() 574 } else if (json_streq(map, field, "EventCode")) { in json_events() 579 } else if (json_streq(map, field, "ExtSel")) { in json_events() 584 } else if (json_streq(map, field, "EventName")) { in json_events() 586 } else if (json_streq(map, field, "BriefDescription")) { in json_events() 589 } else if (json_streq(map, field, in json_events() 593 } else if (json_streq(map, field, "PEBS") && nz) { in json_events() [all …]
|
D | json.h | 11 int json_streq(char *map, jsmntok_t *t, const char *s);
|
D | json.c | 158 int json_streq(char *map, jsmntok_t *t, const char *s) in json_streq() function
|