android_kernel_samsung_univ.../tools/perf/tests
Arnaldo Carvalho de Melo eef1195bb6 perf test: Fix build of BPF and LLVM on older glibc libraries
commit 916d4092a1d2d7bb50630497be71ee4c4c2807fa upstream.

  $ rpm -q glibc
  glibc-2.12-1.166.el6_7.1.x86_64

<SNIP>
    CC       /tmp/build/perf/tests/llvm.o
  cc1: warnings being treated as errors
  tests/llvm.c: In function ‘test_llvm__fetch_bpf_obj’:
  tests/llvm.c:53: error: declaration of ‘index’ shadows a global declaration
  /usr/include/string.h:489: error: shadowed declaration is here
<SNIP>
    CC       /tmp/build/perf/tests/bpf.o
  cc1: warnings being treated as errors
  tests/bpf.c: In function ‘__test__bpf’:
  tests/bpf.c:149: error: declaration of ‘index’ shadows a global declaration
  /usr/include/string.h:489: error: shadowed declaration is here
<SNIP>

Cc: He Kuang <hekuang@huawei.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: pi3orama@163.com
Cc: Wang Nan <wangnan0@huawei.com>
Cc: Zefan Li <lizefan@huawei.com>
Fixes: b31de018a6 ("perf test: Enhance the LLVM test: update basic BPF test program")
Fixes: ba1fae431e ("perf test: Add 'perf test BPF'")
Link: http://lkml.kernel.org/n/tip-akpo4r750oya2phxoh9e3447@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Nikolay Borisov <kernel@kyup.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-06-01 12:15:47 -07:00
..
attr
.gitignore perf test: Add llvm-src-base.c and llvm-src-kbuild.c to .gitignore 2015-11-11 18:41:23 -03:00
attr.c perf test: Keep test result clean if '-v' not set 2015-11-03 11:45:40 -03:00
attr.py
bp_signal_overflow.c
bp_signal.c
bpf-script-example.c perf test: Enhance the LLVM test: update basic BPF test program 2015-11-06 17:49:24 -03:00
bpf-script-test-kbuild.c perf test: Enhance the LLVM tests: add kbuild test 2015-11-06 17:49:50 -03:00
bpf.c perf test: Fix build of BPF and LLVM on older glibc libraries 2016-06-01 12:15:47 -07:00
Build perf test: Add 'perf test BPF' 2015-11-06 17:50:03 -03:00
builtin-test.c perf test: Do not be case sensitive when searching for matching tests 2015-11-06 17:50:04 -03:00
code-reading.c perf test: Keep test result clean if '-v' not set 2015-11-03 11:45:40 -03:00
dso-data.c
dwarf-unwind.c
evsel-roundtrip-name.c
evsel-tp-sched.c
fdarray.c
hists_common.c
hists_common.h
hists_cumulate.c
hists_filter.c
hists_link.c
hists_output.c
keep-tracking.c perf test: Keep test result clean if '-v' not set 2015-11-03 11:45:40 -03:00
kmod-path.c
llvm.c perf test: Fix build of BPF and LLVM on older glibc libraries 2016-06-01 12:15:47 -07:00
llvm.h perf test: Enhance the LLVM tests: add kbuild test 2015-11-06 17:49:50 -03:00
make perf tools: Allow shuffling the build tests 2015-11-05 11:39:54 -03:00
mmap-basic.c
mmap-thread-lookup.c
openat-syscall-all-cpus.c
openat-syscall-tp-fields.c
openat-syscall.c
parse-events.c
parse-no-sample-id-all.c
perf-record.c
perf-targz-src-pkg
pmu.c
python-use.c
sample-parsing.c
sw-clock.c
switch-tracking.c perf test: Keep test result clean if '-v' not set 2015-11-03 11:45:40 -03:00
task-exit.c
tests.h perf test: Add 'perf test BPF' 2015-11-06 17:50:03 -03:00
thread-map.c
thread-mg-share.c
topology.c
vmlinux-kallsyms.c