diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-10-19 10:04:27 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-10-19 16:07:19 -0300 |
commit | 5dd93304a5d386c73c0a59117752acdca67f857d (patch) | |
tree | f2308ef80891fd45689c112bce9e209c6f2a8c76 /tools/perf/bench/sched-messaging.c | |
parent | perf bench mem: Improve user visible strings (diff) | |
download | wireguard-linux-5dd93304a5d386c73c0a59117752acdca67f857d.tar.xz wireguard-linux-5dd93304a5d386c73c0a59117752acdca67f857d.zip |
perf bench mem: Reorganize the code a bit
Reorder functions a bit, so that we synchronize the layout of the
memcpy() and memset() portions of the code.
This improves the code, especially after we'll add an strlcpy() variant
as well.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1445241870-24854-12-git-send-email-mingo@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/bench/sched-messaging.c')
0 files changed, 0 insertions, 0 deletions