Lines Matching defs:mctx
2106 struct metric_ctx *mctx = ctx;
2111 perf_sample__fprintf_start(NULL, mctx->sample, mctx->thread, mctx->evsel,
2112 PERF_RECORD_SAMPLE, mctx->fp);
2113 fputs("\tmetric: ", mctx->fp);
2115 color_fprintf(mctx->fp, color, fmt, val);
2118 fprintf(mctx->fp, " %s\n", unit);
2124 struct metric_ctx *mctx = ctx;
2126 perf_sample__fprintf_start(NULL, mctx->sample, mctx->thread, mctx->evsel,
2127 PERF_RECORD_SAMPLE, mctx->fp);
2128 fputs("\tmetric: ", mctx->fp);