Searched refs:expr__parse (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | expr.c | 63 if (expr__parse(&val, ctx, e)) in test() 122 ret = expr__parse(&val, ctx, p); in test__expr() 127 ret = expr__parse(&val, ctx, p); in test__expr() 231 expr__parse(&num_cpus_online, ctx, "#num_cpus_online") == 0); in test__expr() 232 TEST_ASSERT_VAL("#num_cpus", expr__parse(&num_cpus, ctx, "#num_cpus") == 0); in test__expr() 234 TEST_ASSERT_VAL("#num_cores", expr__parse(&num_cores, ctx, "#num_cores") == 0); in test__expr() 236 TEST_ASSERT_VAL("#num_dies", expr__parse(&num_dies, ctx, "#num_dies") == 0); in test__expr() 238 TEST_ASSERT_VAL("#num_packages", expr__parse(&num_packages, ctx, "#num_packages") == 0); in test__expr() 243 TEST_ASSERT_VAL("#system_tsc_freq", expr__parse(&val, ctx, "#system_tsc_freq") == 0); in test__expr()
|
H A D | pmu-events.c | 961 if (expr__parse(&result, ctx, str)) { in metric_parse_fake() 969 if (expr__parse(&result, ctx, str)) { in metric_parse_fake() 970 pr_err("expr__parse failed for %s\n", metric_name); in metric_parse_fake()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | expr.c | 13 if (expr__parse(&val, ctx, e, 1)) in test() 56 ret = expr__parse(&val, &ctx, p, 1); in test__expr() 60 ret = expr__parse(&val, &ctx, p, 1); in test__expr()
|
H A D | pmu-events.c | 508 if (expr__parse(&result, &ctx, pe->metric_expr, 0)) { in test_parsing() 564 if (expr__parse(&result, &ctx, str, 0)) in metric_parse_fake() 565 pr_err("expr__parse failed\n"); in metric_parse_fake()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | expr.h | 55 int expr__parse(double *final_val, struct expr_parse_ctx *ctx,
|
H A D | expr.c | 157 if (expr__parse(&data->val, ctx, data->ref.metric_expr, 1)) { in expr__resolve_id() 228 int expr__parse(double *final_val, struct expr_parse_ctx *ctx, in expr__parse() function
|
H A D | stat-shadow.c | 867 if (expr__parse(&ratio, &pctx, metric_expr, runtime) == 0) { in generic_metric() 914 if (expr__parse(&ratio, &pctx, mexp->metric_expr, 1)) in test_generic_metric()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | expr.h | 48 int expr__parse(double *final_val, struct expr_parse_ctx *ctx,
|
H A D | stat-shadow.c | 471 if (expr__parse(&ratio, pctx, metric_expr) == 0) { in generic_metric() 476 expr__parse(&threshold, pctx, metric_threshold) == 0 && in generic_metric() 529 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric()
|
H A D | expr.c | 264 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
|
Completed in 8 milliseconds