android_kernel_xiaomi_sm8350/tools/perf/util
Cyrill Gorcunov a3da8e4513 perf, ui: Eliminate stack-smashing protection compiler complaint
The gcc complains about small auto-var strings being allocated from stack space.
Make them const to avoid this:

 | CC util/ui/util.o
 | cc1: warnings being treated as errors
 | util/ui/util.c: In function ‘ui__dialog_yesno’:
 | util/ui/util.c:108: error: not protecting function: no buffer at least 8 bytes long
 | make: *** [util/ui/util.o] Error 1

The real bug is in the newtWinChoice() ABI - but that's an
externality we cannot fix here, so we use this workaround.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <20101106084724.GA5956@lenovo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-11-10 09:04:32 +01:00
..
include perf: Add back list_head data types 2010-08-12 21:50:00 +02:00
scripting-engines
ui perf, ui: Eliminate stack-smashing protection compiler complaint 2010-11-10 09:04:32 +01:00
abspath.c
alias.c
bitmap.c
build-id.c perf tools: Release thread resources on PERF_RECORD_EXIT 2010-07-30 18:28:42 -03:00
build-id.h
cache.h perf tools: add test for strlcpy() 2010-08-21 11:22:47 -03:00
callchain.c perf: Support for callchains merge 2010-08-22 21:10:35 +02:00
callchain.h Merge branch 'perf/urgent' into perf/core 2010-08-27 02:30:07 +02:00
color.c
color.h
config.c perf buildid: add perfconfig option to specify buildid cache dir 2010-06-05 09:34:04 -03:00
cpumap.c perf tools: Add the ability to specify list of cpus to monitor 2010-06-05 09:33:01 -03:00
cpumap.h perf tools: Add the ability to specify list of cpus to monitor 2010-06-05 09:33:01 -03:00
ctype.c
debug.c perf scripting: Shut up 'perf record' final status 2010-10-26 15:20:09 -02:00
debug.h perf scripting: Shut up 'perf record' final status 2010-10-26 15:20:09 -02:00
debugfs.c
debugfs.h
environment.c
event.c perf: expose event__process function 2010-08-04 12:41:23 -03:00
event.h perf: expose event__process function 2010-08-04 12:41:23 -03:00
exec_cmd.c
exec_cmd.h
generate-cmdlist.sh
header.c perf record: Add option to avoid updating buildid cache 2010-06-17 10:20:44 -03:00
header.h
help.c
help.h
hist.c perf: Support for callchains merge 2010-08-22 21:10:35 +02:00
hist.h perf annotate: Sort by hottest lines in the TUI 2010-08-10 16:11:42 -03:00
hweight.c
levenshtein.c
levenshtein.h
map.c perf tools: Don't keep unreferenced maps when unmaps are detected 2010-08-02 19:45:23 -03:00
map.h perf probe: Add basic module support 2010-10-21 16:11:44 -02:00
pager.c
parse-events.c perf: Don't use 4 bytes as a default instruction breakpoint length 2010-06-24 23:35:49 +02:00
parse-events.h
parse-options.c
parse-options.h
path.c perf tools: add test for strlcpy() 2010-08-21 11:22:47 -03:00
PERF-VERSION-GEN perf: Version String fix, for fallback if not from git 2010-07-05 10:42:58 +02:00
probe-event.c perf probe: Add basic module support 2010-10-21 16:11:44 -02:00
probe-event.h perf probe: Add basic module support 2010-10-21 16:11:44 -02:00
probe-finder.c perf probe: Fix format specified for Dwarf_Off parameter 2010-10-23 15:31:20 -02:00
probe-finder.h perf probe: Add basic module support 2010-10-21 16:11:44 -02:00
pstack.c
pstack.h perf ui: Move hists browser to util/ui/browsers/ 2010-08-10 16:11:08 -03:00
quote.c
quote.h
run-command.c
run-command.h
session.c perf session: Invalidate last_match when removing threads from rb_tree 2010-08-02 19:01:09 -03:00
session.h perf session: Remove threads from tree on PERF_RECORD_EXIT 2010-06-17 08:37:44 -03:00
sigchain.c
sigchain.h
sort.c perf hists: Fixup addr snprintf width on 32 bit arches 2010-08-05 19:38:01 -03:00
sort.h perf: Keep track of the max depth of a callchain 2010-08-22 20:43:17 +02:00
strbuf.c
strbuf.h
string.c
strlist.c
strlist.h
svghelper.c
svghelper.h
symbol.c Merge branch 'tip/perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into perf/core 2010-09-15 10:27:31 +02:00
symbol.h Merge branch 'tip/perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into perf/core 2010-09-15 10:27:31 +02:00
thread.c perf tools: Release thread resources on PERF_RECORD_EXIT 2010-07-30 18:28:42 -03:00
thread.h perf tools: Release thread resources on PERF_RECORD_EXIT 2010-07-30 18:28:42 -03:00
trace-event-info.c
trace-event-parse.c
trace-event-read.c
trace-event-scripting.c perf trace scripting: Fix extern struct definitions 2010-10-04 12:24:51 -03:00
trace-event.h
types.h
usage.c
util.c
util.h perf ui browser: Return the exit key in all browsers 2010-08-19 19:39:52 -03:00
values.c
values.h
wrapper.c