Home
last modified time | relevance | path

Searched refs:type_val (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/tests/
H A Dpmu.c31 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
37 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
43 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
49 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
55 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
61 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
67 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
73 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
79 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
H A Dparse-events.c606 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
615 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
624 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
633 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
648 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
662 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dpmu.c33 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
39 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
45 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
51 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
57 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
63 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
69 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
75 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
81 .type_val = PARSE_EVENTS__TERM_TYPE_NUM,
H A Dparse-events.c783 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
792 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
801 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
810 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
819 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
834 term->type_val == PARSE_EVENTS__TERM_TYPE_STR); in test__checkterms_simple()
848 term->type_val == PARSE_EVENTS__TERM_TYPE_STR); in test__checkterms_simple()
/kernel/linux/linux-5.10/tools/perf/include/bpf/
H A Dbpf.h21 #define bpf_map(name, _type, type_key, type_val, _max_entries) \
25 .value_size = sizeof(type_val), \
30 type_val value; \
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dbpf_legacy.h5 #define BPF_ANNOTATE_KV_PAIR(name, type_key, type_val) \
8 type_val value; \
/kernel/linux/linux-5.10/tools/perf/util/
H A Dpmu.c353 if (term->type_val == PARSE_EVENTS__TERM_TYPE_NUM) in __perf_pmu__new_alias()
356 else if (term->type_val == PARSE_EVENTS__TERM_TYPE_STR) in __perf_pmu__new_alias()
1038 if (t->type_val == PARSE_EVENTS__TERM_TYPE_NUM && in pmu_resolve_param_term()
1144 if (term->type_val == PARSE_EVENTS__TERM_TYPE_NUM) { in pmu_config_term()
1156 } else if (term->type_val == PARSE_EVENTS__TERM_TYPE_STR) { in pmu_config_term()
1240 if (term->type_val == PARSE_EVENTS__TERM_TYPE_NUM) { in pmu_find_alias()
1246 } else if (term->type_val == PARSE_EVENTS__TERM_TYPE_STR) { in pmu_find_alias()
1399 if (term->type_val == PARSE_EVENTS__TERM_TYPE_STR) in format_alias()
H A Dparse-events.c981 if (type == term->type_val) in check_type_val()
2945 switch (term->type_val) { in new_term()
2970 .type_val = PARSE_EVENTS__TERM_TYPE_NUM, in parse_events_term__num()
2989 .type_val = PARSE_EVENTS__TERM_TYPE_STR, in parse_events_term__str()
3005 .type_val = PARSE_EVENTS__TERM_TYPE_STR, in parse_events_term__sym_hw()
3029 .type_val = term->type_val, in parse_events_term__clone()
3041 if (term->type_val == PARSE_EVENTS__TERM_TYPE_NUM) in parse_events_term__clone()
3055 if (term->type_val != PARSE_EVENTS__TERM_TYPE_NUM) in parse_events_term__delete()
H A Dparse-events.h108 int type_val; member
H A Dbpf-loader.c1048 if (term->type_val != PARSE_EVENTS__TERM_TYPE_NUM) { in bpf_map__config_value()
1108 if (term->type_val != PARSE_EVENTS__TERM_TYPE_STR) { in bpf_map__config_event()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dparse-events.c204 term->type_val = PARSE_EVENTS__TERM_TYPE_NUM; in fix_raw()
217 term->type_val = PARSE_EVENTS__TERM_TYPE_NUM; in fix_raw()
727 if (type == term->type_val) in check_type_val()
2451 switch (term->type_val) { in new_term()
2477 .type_val = PARSE_EVENTS__TERM_TYPE_NUM, in parse_events_term__num()
2497 .type_val = PARSE_EVENTS__TERM_TYPE_STR, in parse_events_term__str()
2529 if (term->type_val == PARSE_EVENTS__TERM_TYPE_NUM) in parse_events_term__clone()
2540 if (term->type_val != PARSE_EVENTS__TERM_TYPE_NUM) in parse_events_term__delete()
2608 if (term->type_val == PARSE_EVENTS__TERM_TYPE_NUM) in parse_events_term__to_strbuf()
2614 else if (term->type_val in parse_events_term__to_strbuf()
[all...]
H A Dparse-events.h96 * string or a number depending on type_val.
102 /** @type_val: The union variable in val to be used for the term. */
103 enum parse_events__term_val_type type_val; member
H A Dpmu.c1196 if (t->type_val == PARSE_EVENTS__TERM_TYPE_NUM && in pmu_resolve_param_term()
1304 if (term->type_val == PARSE_EVENTS__TERM_TYPE_NUM) { in pmu_config_term()
1316 } else if (term->type_val == PARSE_EVENTS__TERM_TYPE_STR) { in pmu_config_term()
1397 if (term->type_val == PARSE_EVENTS__TERM_TYPE_NUM) { in pmu_find_alias()
1404 } else if (term->type_val == PARSE_EVENTS__TERM_TYPE_STR) { in pmu_find_alias()
1637 if (term->type_val == PARSE_EVENTS__TERM_TYPE_STR) in format_alias()

Completed in 22 milliseconds