Searched refs:expr_parse_ctx (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.15/tools/perf/util/ |
D | expr.h | 21 struct expr_parse_ctx { struct 33 void expr__ctx_init(struct expr_parse_ctx *ctx); argument 34 void expr__ctx_clear(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_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref); 39 int expr__get_id(struct expr_parse_ctx *ctx, const char *id, 41 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id, 43 int expr__parse(double *final_val, struct expr_parse_ctx *ctx, [all …]
|
D | expr.c | 63 int expr__add_id(struct expr_parse_ctx *ctx, const char *id) in expr__add_id() 86 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val) in expr__add_id_val() 107 int expr__add_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref) in expr__add_ref() 156 int expr__get_id(struct expr_parse_ctx *ctx, const char *id, in expr__get_id() 162 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id, in expr__resolve_id() 203 void expr__del_id(struct expr_parse_ctx *ctx, const char *id) in expr__del_id() 214 void expr__ctx_init(struct expr_parse_ctx *ctx) in expr__ctx_init() 219 void expr__ctx_clear(struct expr_parse_ctx *ctx) in expr__ctx_clear() 232 __expr__parse(double *val, struct expr_parse_ctx *ctx, const char *expr, in __expr__parse() 264 int expr__parse(double *final_val, struct expr_parse_ctx *ctx, in expr__parse() [all …]
|
D | expr.y | 26 %parse-param { struct expr_parse_ctx *ctx } 52 struct expr_parse_ctx *ctx __maybe_unused,
|
D | metricgroup.c | 121 struct expr_parse_ctx pctx; 192 struct expr_parse_ctx *pctx, in find_evsel_group() 690 struct expr_parse_ctx *ctx) in metricgroup__add_metric_weak_group() 721 struct expr_parse_ctx *ctx) in metricgroup__add_metric_non_group()
|
D | stat-shadow.c | 373 struct expr_parse_ctx ctx; in perf_stat__collect_metric_expr() 813 struct expr_parse_ctx *pctx, in prepare_metric() 883 struct expr_parse_ctx pctx; in generic_metric() 934 struct expr_parse_ctx pctx; in test_generic_metric()
|
/Linux-v5.15/tools/perf/tests/ |
D | expr.c | 9 static int test(struct expr_parse_ctx *ctx, const char *e, double val2) in test() 25 struct expr_parse_ctx ctx; in test__expr()
|
D | pmu-events.c | 771 static int resolve_metric_simple(struct expr_parse_ctx *pctx, in resolve_metric_simple() 838 struct expr_parse_ctx ctx; in test_parsing() 919 struct expr_parse_ctx ctx; in metric_parse_fake()
|