Lines Matching defs:mctx
2032 struct metric_ctx *mctx = ctx;
2036 perf_sample__fprintf_start(NULL, mctx->sample, mctx->thread, mctx->evsel,
2037 PERF_RECORD_SAMPLE, mctx->fp);
2038 fputs("\tmetric: ", mctx->fp);
2040 color_fprintf(mctx->fp, color, fmt, val);
2043 fprintf(mctx->fp, " %s\n", unit);
2049 struct metric_ctx *mctx = ctx;
2051 perf_sample__fprintf_start(NULL, mctx->sample, mctx->thread, mctx->evsel,
2052 PERF_RECORD_SAMPLE, mctx->fp);
2053 fputs("\tmetric: ", mctx->fp);