Re: [PATCH] perf report: auto-detect branch stack sampling mode

From: Ingo Molnar
Date: Mon Mar 05 2012 - 10:57:08 EST



A third usability bug is that for some reason a branch sampling
'perf report' defaults to the stdio output on my testsystem -
with --no-branch-stack it gives the regular tui.

Even specifying --tui explicitly does not restore the TUI. Is
there any fundamental reason why the branch stack does not
support the TUI?

A fourth bug is that regular profiling appears to be busted:

aldebaran:> perf record -a sleep 1
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.026 MB perf.data (~1120 samples) ]

aldebaran:~> perf report
Warning: TUI interface not supported in branch mode
selected -b but no branch data. Did you call perf record without -b?

Guys, why are you sending me these patches? The tooling side is
utterly untested and very raw yet.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/