Home
last modified time | relevance | path

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

/linux/tools/perf/tests/
H A Dexpr.c65 if (expr__parse(&val, ctx, e)) in test()
125 ret = expr__parse(&val, ctx, p); in test__expr()
130 ret = expr__parse(&val, ctx, p); in test__expr()
234 expr__parse(&num_cpus_online, ctx, "#num_cpus_online") == 0); in test__expr()
235 TEST_ASSERT_VAL("#num_cpus", expr__parse(&num_cpus, ctx, "#num_cpus") == 0); in test__expr()
237 TEST_ASSERT_VAL("#num_cores", expr__parse(&num_cores, ctx, "#num_cores") == 0); in test__expr()
239 TEST_ASSERT_VAL("#num_dies", expr__parse(&num_dies, ctx, "#num_dies") == 0); in test__expr()
241 TEST_ASSERT_VAL("#num_packages", expr__parse(&num_packages, ctx, "#num_packages") == 0); in test__expr()
247 if (expr__parse(&val, ctx, "#system_tsc_freq") == 0) { in test__expr()
H A Dpmu-events.c968 if (expr__parse(&result, ctx, str)) { in metric_parse_fake()
976 if (expr__parse(&result, ctx, str)) { in metric_parse_fake()
/linux/tools/perf/util/
H A Dstat-shadow.c152 if (expr__parse(&ratio, pctx, metric_expr) == 0) { in generic_metric()
157 expr__parse(&threshold, pctx, metric_threshold) == 0 && in generic_metric()
210 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric()
H A Dexpr.h48 int expr__parse(double *final_val, struct expr_parse_ctx *ctx,
H A Dexpr.c263 if (expr__parse(&data->ref.val, ctx, data->ref.metric_expr)) { in expr__resolve_id()
365 int expr__parse(double *final_val, struct expr_parse_ctx *ctx, in expr__parse() function
H A Dpython.c1472 if (expr__parse(&result, pctx, mexp->metric_expr)) in pyrf_evlist__compute_metric()