Home
last modified time | relevance | path

Searched refs:parse_ctx (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/tools/perf/util/
Dexpr.h13 struct parse_ctx { struct
18 void expr__ctx_init(struct parse_ctx *ctx); argument
19 void expr__add_id(struct parse_ctx *ctx, const char *id, double val);
21 int expr__parse(double *final_val, struct parse_ctx *ctx, const char **pp);
Dexpr.y17 %parse-param { struct parse_ctx *ctx }
42 struct parse_ctx *ctx __maybe_unused,
49 static int lookup_id(struct parse_ctx *ctx, char *id, double *val)
172 void expr__add_id(struct parse_ctx *ctx, const char *name, double val)
181 void expr__ctx_init(struct parse_ctx *ctx)
Dstat-shadow.c734 struct parse_ctx pctx; in generic_metric()
/Linux-v5.4/tools/perf/tests/
Dexpr.c9 static int test(struct parse_ctx *ctx, const char *e, double val2) in test()
25 struct parse_ctx ctx; in test__expr()