diff options
| author | Ingo Molnar <[email protected]> | 2013-10-01 13:26:13 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2013-10-09 08:48:49 +0200 |
| commit | fb1c9185e36cf9c616ac15f54e54a01f052672bd (patch) | |
| tree | ab6bcf354a39a2e662fd3492ca9f8b4384b3a7d9 /tools/perf/scripts/python | |
| parent | 7a10822a30060eceddda16c051086c00acb449c9 (diff) | |
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 <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions