The new gcc 6.0.0 in fedora rawhide complains about misleading indentation.
Some of the indentation for sys_count example needed to be corrected with that
attached patch to compile with gcc 6.
-Will
diff --git a/perf_examples/syst_count.c b/perf_examples/syst_count.c
index 0d53078..e0fa42e 100644
--- a/perf_examples/syst_count.c
+++ b/perf_examples/syst_count.c
@@ -343,8 +343,8 @@ measure(void)
for (delay = 1 ; delay <= options.delay; delay++) {
- for(c=cmin ; c < cmax; c++)
- start_cpu(c);
+ for(c=cmin ; c < cmax; c++)
+ start_cpu(c);
if (0) {
tv.tv_sec = 0;
@@ -353,8 +353,8 @@ measure(void)
} else
sleep(1);
- for(c=cmin ; c < cmax; c++)
- stop_cpu(c);
+ for(c=cmin ; c < cmax; c++)
+ stop_cpu(c);
for(c = cmin; c < cmax; c++) {
printf("# %'ds -----\n", delay);
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel