Searched refs:expr__parse (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/tools/perf/tests/ |
D | expr.c | 62 if (expr__parse(&val, ctx, e)) in test() 121 ret = expr__parse(&val, ctx, p); in test__expr() 125 ret = expr__parse(&val, ctx, p); in test__expr() 198 TEST_ASSERT_VAL("#num_cpus", expr__parse(&num_cpus, ctx, "#num_cpus") == 0); in test__expr() 199 TEST_ASSERT_VAL("#num_cores", expr__parse(&num_cores, ctx, "#num_cores") == 0); in test__expr() 201 TEST_ASSERT_VAL("#num_dies", expr__parse(&num_dies, ctx, "#num_dies") == 0); in test__expr() 203 TEST_ASSERT_VAL("#num_packages", expr__parse(&num_packages, ctx, "#num_packages") == 0); in test__expr() 208 TEST_ASSERT_VAL("#system_tsc_freq", expr__parse(&val, ctx, "#system_tsc_freq") == 0); in test__expr()
|
D | pmu-events.c | 999 if (expr__parse(&result, ctx, str)) { in metric_parse_fake() 1007 if (expr__parse(&result, ctx, str)) { in metric_parse_fake()
|
/linux-6.1.9/tools/perf/util/ |
D | expr.h | 52 int expr__parse(double *final_val, struct expr_parse_ctx *ctx,
|
D | expr.c | 263 if (expr__parse(&data->ref.val, ctx, data->ref.metric_expr)) { in expr__resolve_id() 369 int expr__parse(double *final_val, struct expr_parse_ctx *ctx, in expr__parse() function
|
D | stat-shadow.c | 917 if (expr__parse(&ratio, pctx, metric_expr) == 0) { in generic_metric() 968 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric()
|