Searched refs:expr_parse_ctx (Results 1 – 8 of 8) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | expr.h | 15 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); 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 *ctx, const char *id, [all …]
|
| H A D | expr.c | 142 int expr__add_id(struct expr_parse_ctx *ctx, const char *id) in expr__add_id() 148 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val) in expr__add_id_val() 154 int expr__add_id_val_source_count(struct expr_parse_ctx *ctx, const char *id, in expr__add_id_val_source_count() 180 int expr__add_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref) in expr__add_ref() 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() 242 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id, in expr__resolve_id() 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() [all …]
|
| H A D | stat-shadow.c | 48 struct expr_parse_ctx *pctx, in prepare_metric() 132 struct expr_parse_ctx *pctx; in generic_metric() 200 struct expr_parse_ctx *pctx; in test_generic_metric()
|
| H A D | expr.y | 19 %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,
|
| H A D | metricgroup.c | 129 struct expr_parse_ctx *pctx; 560 const struct expr_parse_ctx *ctx, in metricgroup__build_event_string() 1215 struct expr_parse_ctx **combined) in build_combined_expr_ctx() 1261 struct expr_parse_ctx *ids, const char *modifier, in parse_ids() 1409 struct expr_parse_ctx *combined = NULL; in parse_groups()
|
| H A D | python.c | 1336 struct expr_parse_ctx *pctx, in prepare_metric() 1414 struct expr_parse_ctx *pctx; in pyrf_evlist__compute_metric()
|
| /linux/tools/perf/tests/ |
| H A D | expr.c | 61 static int test(struct expr_parse_ctx *ctx, const char *e, double val2) in test() 77 struct expr_parse_ctx *ctx; in test__expr()
|
| H A D | pmu-events.c | 931 struct expr_parse_ctx *ctx; in metric_parse_fake()
|