Home
last modified time | relevance | path

Searched refs:expr__parse (Results 1 – 5 of 5) sorted by relevance

/linux/tools/perf/tests/
A Dexpr.c59 if (expr__parse(&val, ctx, e)) in test()
107 ret = expr__parse(&val, ctx, p); in test__expr()
111 ret = expr__parse(&val, ctx, p); in test__expr()
166 TEST_ASSERT_VAL("#num_cpus", expr__parse(&num_cpus, ctx, "#num_cpus") == 0); in test__expr()
167 TEST_ASSERT_VAL("#num_cores", expr__parse(&num_cores, ctx, "#num_cores") == 0); in test__expr()
169 TEST_ASSERT_VAL("#num_dies", expr__parse(&num_dies, ctx, "#num_dies") == 0); in test__expr()
171 TEST_ASSERT_VAL("#num_packages", expr__parse(&num_packages, ctx, "#num_packages") == 0); in test__expr()
A Dpmu-events.c964 if (expr__parse(&result, ctx, pe->metric_expr)) { in test__parsing()
1025 if (expr__parse(&result, ctx, str)) in metric_parse_fake()
/linux/tools/perf/util/
A Dexpr.h53 int expr__parse(double *final_val, struct expr_parse_ctx *ctx,
A Dexpr.c271 if (expr__parse(&data->ref.val, ctx, data->ref.metric_expr)) { in expr__resolve_id()
374 int expr__parse(double *final_val, struct expr_parse_ctx *ctx, in expr__parse() function
A Dstat-shadow.c898 if (expr__parse(&ratio, pctx, metric_expr) == 0) { in generic_metric()
949 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric()

Completed in 17 milliseconds