perf tools: add test for strlcpy()
authorKirill A. Shutemov <kirill@shutemov.name>
Sat, 21 Aug 2010 00:38:20 +0000 (03:38 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 21 Aug 2010 14:22:47 +0000 (11:22 -0300)
commitf4e7ac0a233a4dc9b51345546ab69c64bb43e2c1
tree26de697385ad30163970160e4c0c8ed9a4dd491b
parent8b9e74eb8af808807192d16b76565c27154ae7ed
perf tools: add test for strlcpy()

Some Linux distributions like ALT Linux provides patched glibc with
contains strlcpy(). It's confilcts with strlcpy() from perf.

Let's add check for strlcpy().

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <1282351101-8879-1-git-send-email-kirill@shutemov.name>
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile
tools/perf/feature-tests.mak
tools/perf/util/cache.h
tools/perf/util/path.c