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

/linux-master/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)
155 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val)
161 int expr__add_id_val_source_count(struct expr_parse_ctx *ctx, const char *id,
183 int expr__add_ref(struct expr_parse_ctx *ctx, struct metric_ref *ref)
222 int expr__get_id(struct expr_parse_ctx *ctx, const char *id,
228 bool expr__subset_of_ids(struct expr_parse_ctx *haystack,
229 struct expr_parse_ctx *needles)
243 int expr__resolve_id(struct expr_parse_ctx *ctx, const char *id,
281 void expr__del_id(struct expr_parse_ctx *ctx, const char *id)
291 struct expr_parse_ctx *expr__ctx_ne
[all...]
H 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,
H A Dstat-shadow.c360 struct expr_parse_ctx *pctx,
475 struct expr_parse_ctx *pctx;
543 struct expr_parse_ctx *pctx;
H A Dmetricgroup.c128 struct expr_parse_ctx *pctx;
669 const struct expr_parse_ctx *ctx,
1395 * build_combined_expr_ctx - Make an expr_parse_ctx with all !group_events
1402 struct expr_parse_ctx **combined)
1448 struct expr_parse_ctx *ids, const char *modifier,
1553 struct expr_parse_ctx *combined = NULL;
/linux-master/tools/perf/tests/
H A Dexpr.c60 static int test(struct expr_parse_ctx *ctx, const char *e, double val2)
76 struct expr_parse_ctx *ctx;
H A Dpmu-events.c985 struct expr_parse_ctx *ctx;

Completed in 141 milliseconds