linux_dsm_epyc7002/tools/perf/util/ui
Kyle McMartin fb7d0b3cef perf tool: Fix gcc 4.6.0 issues
GCC 4.6.0 in Fedora rawhide turned up some compile errors in tools/perf
due to the -Werror=unused-but-set-variable flag.

I've gone through and annotated some of the assignments that had side
effects (ie: return value from a function) with the __used annotation,
and in some cases, just removed unused code.

In a few cases, we were assigning something useful, but not using it in
later parts of the function.

kyle@dreadnought:~/src% gcc --version
gcc (GCC) 4.6.0 20110122 (Red Hat 4.6.0-0.3)

Cc: Ingo Molnar <mingo@redhat.com>
LKML-Reference: <20110124161304.GK27353@bombadil.infradead.org>
Signed-off-by: Kyle McMartin <kyle@redhat.com>
[ committer note: Fixed up the annotation fixes, as that code moved recently ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2011-02-07 12:41:41 -02:00
..
browsers perf tool: Fix gcc 4.6.0 issues 2011-02-07 12:41:41 -02:00
browser.c perf tools: Remove direct slang.h include 2010-10-22 17:48:16 -02:00
browser.h perf ui browser: Add routines to compactly specify exit keys 2010-08-19 19:44:18 -03:00
helpline.c perf ui browser: Add ui_browser__show counterpart: __hide 2010-08-10 15:44:20 -03:00
helpline.h perf ui browser: Add ui_browser__show counterpart: __hide 2010-08-10 15:44:20 -03:00
libslang.h perf top: Fix TUI compilation 2011-02-01 17:33:06 -02:00
progress.c perf ui: Move ui_progress routines to separate file in util/ui/ 2010-08-10 16:09:14 -03:00
progress.h perf ui: Move ui_progress routines to separate file in util/ui/ 2010-08-10 16:09:14 -03:00
setup.c perf tools: Don't fallback to setup_pager unconditionally 2011-01-31 18:08:39 -02:00
util.c perf tools: Fix lost and unknown events handling 2010-11-27 02:41:01 -02:00
util.h perf ui: Complete the breakdown of util/newt.c 2010-08-10 16:11:38 -03:00