Lines Matching defs:mctx
1804 struct metric_ctx *mctx = ctx;
1808 perf_sample__fprintf_start(NULL, mctx->sample, mctx->thread, mctx->evsel,
1809 PERF_RECORD_SAMPLE, mctx->fp);
1810 fputs("\tmetric: ", mctx->fp);
1812 color_fprintf(mctx->fp, color, fmt, val);
1815 fprintf(mctx->fp, " %s\n", unit);
1821 struct metric_ctx *mctx = ctx;
1823 perf_sample__fprintf_start(NULL, mctx->sample, mctx->thread, mctx->evsel,
1824 PERF_RECORD_SAMPLE, mctx->fp);
1825 fputs("\tmetric: ", mctx->fp);