Home
last modified time | relevance | path

Searched refs:expr_parse_ctx (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-6.6/tools/perf/util/
H A Dexpr.h15 struct expr_parse_ctx { struct
31 struct expr_parse_ctx *expr__ctx_new(void);
32 void expr__ctx_clear(struct expr_parse_ctx *ctx);
33 void expr__ctx_free(struct expr_parse_ctx *ctx);
35 void expr__del_id(struct expr_parse_ctx *ctx, const char *id);
36 int expr__add_id(struct expr_parse_ctx *ctx, const char *id);
37 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val);
38 int expr__add_id_val_source_count(struct expr_parse_ctx *ctx, const char *id,
40 int expr__add_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref);
41 int expr__get_id(struct expr_parse_ctx *ct
[all...]
H A Dexpr.c149 int expr__add_id(struct expr_parse_ctx *ctx, const char *id) in expr__add_id()
155 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val) in expr__add_id_val()
161 int expr__add_id_val_source_count(struct expr_parse_ctx *ctx, const char *id, in expr__add_id_val_source_count()
183 int expr__add_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref) in expr__add_ref()
222 int expr__get_id(struct expr_parse_ctx *ctx, const char *id, in expr__get_id()
228 bool expr__subset_of_ids(struct expr_parse_ctx *haystack, in expr__subset_of_ids()
229 struct expr_parse_ctx *needles) in expr__subset_of_ids()
243 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id, in expr__resolve_id()
281 void expr__del_id(struct expr_parse_ctx *ctx, const char *id) in expr__del_id()
291 struct expr_parse_ctx *expr__ctx_ne
[all...]
H A Dexpr.y17 %parse-param { struct expr_parse_ctx *ctx }
59 struct expr_parse_ctx *ctx __maybe_unused,
88 static struct ids handle_id(struct expr_parse_ctx *ctx, char *id,
H A Dstat-shadow.c360 struct expr_parse_ctx *pctx, in prepare_metric()
451 struct expr_parse_ctx *pctx; in generic_metric()
519 struct expr_parse_ctx *pctx; in test_generic_metric()
H A Dmetricgroup.c126 struct expr_parse_ctx *pctx;
669 const struct expr_parse_ctx *ctx, in metricgroup__build_event_string()
1395 * build_combined_expr_ctx - Make an expr_parse_ctx with all !group_events
1402 struct expr_parse_ctx **combined) in build_combined_expr_ctx()
1448 struct expr_parse_ctx *ids, const char *modifier, in parse_ids()
1553 struct expr_parse_ctx *combined = NULL; in parse_groups()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dexpr.h21 struct expr_parse_ctx { struct
45 void expr__ctx_init(struct expr_parse_ctx *ctx);
46 void expr__ctx_clear(struct expr_parse_ctx *ctx);
47 void expr__del_id(struct expr_parse_ctx *ctx, const char *id);
48 int expr__add_id(struct expr_parse_ctx *ctx, const char *id);
49 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val);
50 int expr__add_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref);
51 int expr__get_id(struct expr_parse_ctx *ctx, const char *id,
53 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id,
55 int expr__parse(double *final_val, struct expr_parse_ctx *ct
[all...]
H A Dexpr.c40 int expr__add_id(struct expr_parse_ctx *ctx, const char *id) in expr__add_id()
62 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val) in expr__add_id_val()
83 int expr__add_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref) in expr__add_ref()
133 int expr__get_id(struct expr_parse_ctx *ctx, const char *id, in expr__get_id()
139 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id, in expr__resolve_id()
167 void expr__del_id(struct expr_parse_ctx *ctx, const char *id) in expr__del_id()
178 void expr__ctx_init(struct expr_parse_ctx *ctx) in expr__ctx_init()
183 void expr__ctx_clear(struct expr_parse_ctx *ctx) in expr__ctx_clear()
196 __expr__parse(double *val, struct expr_parse_ctx *ctx, const char *expr, in __expr__parse()
228 int expr__parse(double *final_val, struct expr_parse_ctx *ct
[all...]
H A Dexpr.y26 %parse-param { struct expr_parse_ctx *ctx }
52 struct expr_parse_ctx *ctx __maybe_unused,
H A Dmetricgroup.c121 struct expr_parse_ctx pctx;
184 struct expr_parse_ctx *pctx, in find_evsel_group()
603 struct expr_parse_ctx *ctx) in metricgroup__add_metric_weak_group()
634 struct expr_parse_ctx *ctx) in metricgroup__add_metric_non_group()
H A Dstat-shadow.c338 struct expr_parse_ctx ctx; in perf_stat__collect_metric_expr()
788 struct expr_parse_ctx *pctx, in prepare_metric()
857 struct expr_parse_ctx pctx; in generic_metric()
908 struct expr_parse_ctx pctx; in test_generic_metric()
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dexpr.c9 static int test(struct expr_parse_ctx *ctx, const char *e, double val2) in test()
25 struct expr_parse_ctx ctx; in test__expr()
H A Dpmu-events.c467 struct expr_parse_ctx ctx; in test_parsing()
533 struct expr_parse_ctx ctx; in metric_parse_fake()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dexpr.c59 static int test(struct expr_parse_ctx *ctx, const char *e, double val2) in test()
75 struct expr_parse_ctx *ctx; in test__expr()
H A Dpmu-events.c924 struct expr_parse_ctx *ctx; in metric_parse_fake()

Completed in 23 milliseconds