Searched refs:expr__parse (Results 1 - 5 of 5) sorted by relevance
/linux-master/tools/perf/tests/ |
H A D | expr.c | 64 if (expr__parse(&val, ctx, e)) 126 ret = expr__parse(&val, ctx, p); 131 ret = expr__parse(&val, ctx, p); 235 expr__parse(&num_cpus_online, ctx, "#num_cpus_online") == 0); 236 TEST_ASSERT_VAL("#num_cpus", expr__parse(&num_cpus, ctx, "#num_cpus") == 0); 238 TEST_ASSERT_VAL("#num_cores", expr__parse(&num_cores, ctx, "#num_cores") == 0); 240 TEST_ASSERT_VAL("#num_dies", expr__parse(&num_dies, ctx, "#num_dies") == 0); 242 TEST_ASSERT_VAL("#num_packages", expr__parse(&num_packages, ctx, "#num_packages") == 0); 247 TEST_ASSERT_VAL("#system_tsc_freq", expr__parse(&val, ctx, "#system_tsc_freq") == 0);
|
H A D | pmu-events.c | 1022 if (expr__parse(&result, ctx, str)) { 1030 if (expr__parse(&result, ctx, str)) { 1031 pr_err("expr__parse failed for %s\n", metric_name);
|
/linux-master/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 | 495 if (expr__parse(&ratio, pctx, metric_expr) == 0) { 500 expr__parse(&threshold, pctx, metric_threshold) == 0 && 553 if (expr__parse(&ratio, pctx, mexp->metric_expr))
|
H A D | expr.c | 264 if (expr__parse(&data->ref.val, ctx, data->ref.metric_expr)) { 369 int expr__parse(double *final_val, struct expr_parse_ctx *ctx, function
|
Completed in 158 milliseconds