android_kernel_motorola_sm6225/tools/perf/tests
David Ahern 309b518504 perf tests: Fix compile failure on do_sort_something
Commit b55ae0a9 added code-reading.c which fails to compile on Fedora 16
with compiler version:
$ gcc --version
gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2)

Failure message is:

tests/code-reading.c: In function ‘do_sort_something’:
tests/code-reading.c:305:13: error: stack protector not protecting local variables: variable length buffer [-Werror=stack-protector]
cc1: all warnings being treated as errors
make: *** [/tmp/junk/tests/code-reading.o] Error 1
make: *** Waiting for unfinished jobs....

v2: as Adrian noticed changed sizeof to ARRAY_SIZE

Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1376454732-83728-1-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-08-14 11:42:45 -03:00
..
attr perf tests: Add attr record group sampling test 2013-08-07 17:35:23 -03:00
attr.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-04-30 09:36:50 -07:00
attr.py perf tests: Make attr script test event cpu 2013-03-15 13:06:00 -03:00
bp_signal.c perf tests: Fix compile errors in bp_signal files 2013-05-28 16:23:57 +03:00
bp_signal_overflow.c perf tests: Fix compile errors in bp_signal files 2013-05-28 16:23:57 +03:00
builtin-test.c perf tests: Add test for reading object code 2013-08-07 17:35:30 -03:00
code-reading.c perf tests: Fix compile failure on do_sort_something 2013-08-14 11:42:45 -03:00
dso-data.c perf tests: Make TEST_ASSERT_VAL global 2013-07-12 13:45:52 -03:00
evsel-roundtrip-name.c perf evlist: Remove cpus and threads arguments from perf_evlist__new() 2013-03-15 13:06:01 -03:00
evsel-tp-sched.c perf tests: Check proper prev_state size for sched_switch tp 2013-07-17 12:34:53 -03:00
hists_link.c perf tools: Remove filter parameter of perf_event__preprocess_sample() 2013-08-12 10:31:11 -03:00
make perf tests: Add broken install-* tests into tests/make 2013-07-22 16:54:56 -03:00
mmap-basic.c perf evlist: Remove cpus and threads arguments from perf_evlist__new() 2013-03-15 13:06:01 -03:00
open-syscall-all-cpus.c perf evsel: Fix memory leaks on evsel->counts 2013-01-30 10:37:04 -03:00
open-syscall-tp-fields.c perf tests: Fixup return path of open-syscall-tp-fields test case 2013-03-15 13:06:12 -03:00
open-syscall.c perf test: Use perf_evsel__newtp constructor in the tracepoint tests 2012-12-10 15:11:43 -03:00
parse-events.c perf tests: Add tests of new pinned modifier 2013-08-07 17:35:40 -03:00
perf-record.c perf tests: Fixup return path of perf record test case 2013-03-15 13:06:12 -03:00
perf-time-to-tsc.c perf tools: Add test for converting perf time to/from TSC 2013-07-23 12:17:59 +02:00
pmu.c perf tests: Use ARRAY_SIZE() were applicable 2013-01-24 16:40:51 -03:00
python-use.c perf tests: Check python path on attr and binding test 2013-01-24 16:40:10 -03:00
rdpmc.c perf tests: Move test__rdpmc into separate object 2012-11-14 16:49:50 -03:00
sw-clock.c perf tests: Add a test case for checking sw clock event frequency 2013-03-18 11:43:16 -03:00
task-exit.c perf test: Add test case for checking number of EXIT events 2013-03-15 13:06:12 -03:00
tests.h perf tests: Add test for reading object code 2013-08-07 17:35:30 -03:00
vmlinux-kallsyms.c perf tests: Adjust the vmlinux symtab matches kallsyms test again 2013-08-07 17:35:33 -03:00