Oleg Nesterov c7e548b45c perf: Factor out strncpy() in perf_event_mmap_event()
While this is really minor, but strncpy() does the unnecessary
zero-padding till the end of tmp[16] and it is called every time
we are going to use the string literal.

Turn these strncpy()'s into the single strlcpy() under the new
label, saves 72 bytes.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20131017182417.GA17753@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2013-11-06 12:34:28 +01:00
..
2013-09-13 15:09:52 +02:00
2013-04-22 07:09:06 -07:00
2013-09-09 11:19:09 -07:00
2012-05-31 17:49:27 -07:00
2012-03-28 18:30:03 +01:00
2013-06-25 23:11:19 +02:00
2012-12-20 17:40:19 -08:00
2013-09-11 15:59:10 -07:00
2013-09-13 15:09:52 +02:00
2013-05-05 00:16:35 -04:00
2013-09-11 15:58:27 -07:00
2013-04-29 13:55:38 -07:00