Home
last modified time | relevance | path

Searched refs:expr_parse_ctx (Results 1 – 7 of 7) sorted by relevance

/tools/perf/util/
A Dexpr.h15 struct expr_parse_ctx { struct
31 struct expr_parse_ctx *expr__ctx_new(void); argument
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);
41 int expr__get_id(struct expr_parse_ctx *ctx, const char *id,
43 bool expr__subset_of_ids(struct expr_parse_ctx *haystack,
44 struct expr_parse_ctx *needles);
48 int expr__parse(double *final_val, struct expr_parse_ctx *ctx,
[all …]
A Dexpr.c142 int expr__add_id(struct expr_parse_ctx *ctx, const char *id) in expr__add_id()
219 int expr__get_id(struct expr_parse_ctx *ctx, const char *id, in expr__get_id()
227 bool expr__subset_of_ids(struct expr_parse_ctx *haystack, in expr__subset_of_ids()
228 struct expr_parse_ctx *needles) in expr__subset_of_ids()
280 void expr__del_id(struct expr_parse_ctx *ctx, const char *id) in expr__del_id()
290 struct expr_parse_ctx *expr__ctx_new(void) in expr__ctx_new()
292 struct expr_parse_ctx *ctx; in expr__ctx_new()
294 ctx = calloc(1, sizeof(struct expr_parse_ctx)); in expr__ctx_new()
307 void expr__ctx_clear(struct expr_parse_ctx *ctx) in expr__ctx_clear()
319 void expr__ctx_free(struct expr_parse_ctx *ctx) in expr__ctx_free()
[all …]
A Dexpr.y19 %parse-param { struct expr_parse_ctx *ctx }
61 struct expr_parse_ctx *ctx __maybe_unused,
90 static struct ids handle_id(struct expr_parse_ctx *ctx, char *id,
A Dstat-shadow.c376 struct expr_parse_ctx *pctx, in prepare_metric()
500 struct expr_parse_ctx *pctx; in generic_metric()
568 struct expr_parse_ctx *pctx; in test_generic_metric()
A Dmetricgroup.c129 struct expr_parse_ctx *pctx;
549 const struct expr_parse_ctx *ctx, in metricgroup__build_event_string()
1204 struct expr_parse_ctx **combined) in build_combined_expr_ctx()
1250 struct expr_parse_ctx *ids, const char *modifier, in parse_ids()
1353 struct expr_parse_ctx *combined = NULL; in parse_groups()
/tools/perf/tests/
A Dexpr.c61 static int test(struct expr_parse_ctx *ctx, const char *e, double val2) in test()
77 struct expr_parse_ctx *ctx; in test__expr()
A Dpmu-events.c953 struct expr_parse_ctx *ctx; in metric_parse_fake()

Completed in 14 milliseconds