kernel-ark/tools/perf/util/ui
Yinghai Lu cdb0861c85 perf top: Fix TUI compilation
> +	slsmg_write_nstring(width >= syme->map->dso->long_name_len ?
> +				syme->map->dso->long_name :
> +				syme->map->dso->short_name, width);

need update macro for that calling

util/ui/browsers/top.c: In function ‘perf_top_browser__write’:
util/ui/browsers/top.c:60:2: error: cast to pointer from integer of different size
util/ui/browsers/top.c:60:2: error: comparison between pointer and integer
util/ui/browsers/top.c:60:2: error: passing argument 1 of ‘SLsmg_write_nstring’ discards qualifiers from pointer target type
/usr/include/slang.h:1728:16: note: expected ‘char *’ but argument is of type ‘const char *’
make: *** [util/ui/browsers/top.o] Error 1

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <4D48562B.20006@kernel.org>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2011-02-01 17:33:06 -02:00
..
browsers perf top: Introduce slang based TUI 2011-01-31 18:19:33 -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