Ingo Molnar fb1c9185e3 tools/perf: Turn strlcpy() into a __weak function
The strlcpy() feature check slows every build unnecessarily - so make it
a __weak function so it does not have to be auto-detected.

If the libc (or any other library) has an strlcpy() implementation it will
be used - otherwise our fallback is active.

Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/n/tip-zjbrcupapu08ePsyYhhhxiwk@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2013-10-09 08:48:49 +02:00
..
2013-09-11 10:09:32 -03:00
2013-03-25 16:13:26 -03:00
2012-12-09 08:46:07 -03:00
2013-09-11 10:09:32 -03:00
2013-09-02 14:58:20 -03:00
2013-09-11 10:09:32 -03:00
2013-09-11 10:09:32 -03:00
2012-08-03 10:37:21 -03:00
2013-08-07 17:35:26 -03:00
2013-08-07 17:35:26 -03:00
2013-03-13 17:00:33 -03:00
2012-05-17 12:32:54 -03:00
2013-08-27 11:05:53 -03:00
2013-08-27 11:05:53 -03:00
2013-09-11 10:09:32 -03:00
2013-07-08 17:59:07 -03:00