Home
last modified time | relevance | path

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

/linux/tools/perf/util/
A Dexpr.h16 struct expr_parse_ctx { struct
36 struct expr_parse_ctx *expr__ctx_new(void); argument
37 void expr__ctx_clear(struct expr_parse_ctx *ctx);
38 void expr__ctx_free(struct expr_parse_ctx *ctx);
40 void expr__del_id(struct expr_parse_ctx *ctx, const char *id);
41 int expr__add_id(struct expr_parse_ctx *ctx, const char *id);
46 int expr__get_id(struct expr_parse_ctx *ctx, const char *id,
48 bool expr__subset_of_ids(struct expr_parse_ctx *haystack,
49 struct expr_parse_ctx *needles);
53 int expr__parse(double *final_val, struct expr_parse_ctx *ctx,
[all …]
A Dexpr.c145 int expr__add_id(struct expr_parse_ctx *ctx, const char *id) in expr__add_id()
229 int expr__get_id(struct expr_parse_ctx *ctx, const char *id, in expr__get_id()
235 bool expr__subset_of_ids(struct expr_parse_ctx *haystack, in expr__subset_of_ids()
236 struct expr_parse_ctx *needles) in expr__subset_of_ids()
288 void expr__del_id(struct expr_parse_ctx *ctx, const char *id) in expr__del_id()
299 struct expr_parse_ctx *expr__ctx_new(void) in expr__ctx_new()
301 struct expr_parse_ctx *ctx; in expr__ctx_new()
303 ctx = malloc(sizeof(struct expr_parse_ctx)); in expr__ctx_new()
317 void expr__ctx_clear(struct expr_parse_ctx *ctx) in expr__ctx_clear()
329 void expr__ctx_free(struct expr_parse_ctx *ctx) in expr__ctx_free()
[all …]
A Dexpr.y15 %parse-param { struct expr_parse_ctx *ctx }
57 struct expr_parse_ctx *ctx __maybe_unused,
86 static struct ids handle_id(struct expr_parse_ctx *ctx, char *id,
A Dmetricgroup.c132 struct expr_parse_ctx *pctx;
725 const struct expr_parse_ctx *ctx, in metricgroup__build_event_string()
1266 struct expr_parse_ctx **combined) in build_combined_expr_ctx()
1308 static int parse_ids(struct perf_pmu *fake_pmu, struct expr_parse_ctx *ids, in parse_ids()
1385 struct expr_parse_ctx *combined = NULL; in parse_groups()
A Dstat-shadow.c375 struct expr_parse_ctx *ctx; in perf_stat__collect_metric_expr()
820 struct expr_parse_ctx *pctx, in prepare_metric()
882 struct expr_parse_ctx *pctx; in generic_metric()
939 struct expr_parse_ctx *pctx; in test_generic_metric()
/linux/tools/perf/tests/
A Dexpr.c55 static int test(struct expr_parse_ctx *ctx, const char *e, double val2) in test()
71 struct expr_parse_ctx *ctx; in test__expr()
A Dpmu-events.c837 static int resolve_metric_simple(struct expr_parse_ctx *pctx, in resolve_metric_simple()
905 struct expr_parse_ctx *ctx; in test__parsing()
990 struct expr_parse_ctx *ctx; in metric_parse_fake()

Completed in 21 milliseconds