summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorIngo Molnar2013-10-01 13:26:13 +0200
committerIngo Molnar2013-10-09 08:48:49 +0200
commitfb1c9185e36cf9c616ac15f54e54a01f052672bd (patch)
treeab6bcf354a39a2e662fd3492ca9f8b4384b3a7d9 /tools/perf/util/annotate.h
parenttools/perf: Clean up util/include/linux/compiler.h (diff)
downloadkernel-qcow2-linux-fb1c9185e36cf9c616ac15f54e54a01f052672bd.tar.gz
kernel-qcow2-linux-fb1c9185e36cf9c616ac15f54e54a01f052672bd.tar.xz
kernel-qcow2-linux-fb1c9185e36cf9c616ac15f54e54a01f052672bd.zip
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>
Diffstat (limited to 'tools/perf/util/annotate.h')
0 files changed, 0 insertions, 0 deletions