linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [bug report] --tui should not be silently ignored
@ 2022-01-22 10:19 xaizek
  2022-01-23 19:21 ` Ian Rogers
  0 siblings, 1 reply; 2+ messages in thread
From: xaizek @ 2022-01-22 10:19 UTC (permalink / raw)
  To: linux-perf-users

Hello,

(Mind that I'm not subscribed to the list.)

If slang isn't available during compilation time, there is a warning at
build time.  However, users won't see it and will scratch their heads
when `--tui` has no effect as I did 5 years ago and just found out that
it still behaves the same (yes, I didn't report it then).

Please print a warning that `--tui` is being ignored if perf was
compiled without slang or even make it an error (e.g., don't define the
option), but don't silently ignore the option.  I had to use strace and
then grep sources to understand why TUI doesn't work.  Documentation might
also need an update to mention that availability of `--tui` depends on
whether slang was found during build.

Regards,
xaizek

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-23 19:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-22 10:19 [bug report] --tui should not be silently ignored xaizek
2022-01-23 19:21 ` Ian Rogers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).