Messages in this thread | | | Date | Mon, 19 Oct 2015 16:51:37 -0200 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH 06/14] perf/bench: List output formatting options on 'perf bench -h' |
| |
Em Mon, Oct 19, 2015 at 07:28:56AM -0600, David Ahern escreveu: > On 10/19/15 2:04 AM, Ingo Molnar wrote: > >diff --git a/tools/perf/bench/mem-functions.c b/tools/perf/bench/mem-functions.c > >index 33de5d57a163..d822ee0c6003 100644 > >--- a/tools/perf/bench/mem-functions.c > >+++ b/tools/perf/bench/mem-functions.c > >@@ -273,7 +273,7 @@ static double do_memcpy_gettimeofday(const struct routine *r, size_t len) > > return (double)(((double)len * iterations) / timeval2double(&tv_diff)); > > } > > > >-int bench_mem_memcpy(int argc, const char **argv, const char *prefix __unused) > >+int bench_mem_memcpy(int argc, const char **argv, const char *prefix __maybe_unused) > > { > > struct bench_mem_info info = { > > .routines = memcpy_routines, > >@@ -361,7 +361,7 @@ static const struct routine memset_routines[] = { > > { NULL, } > > }; > > > >-int bench_mem_memset(int argc, const char **argv, const char *prefix __unused) > >+int bench_mem_memset(int argc, const char **argv, const char *prefix __maybe_unused) > > { > > struct bench_mem_info info = { > > .routines = memset_routines, > >diff --git a/tools/perf/bench/mem-memcpy.c b/tools/perf/bench/mem-memcpy.c > >deleted file mode 100644 > >index 7acb9b83382c..000000000000 > >--- a/tools/perf/bench/mem-memcpy.c > >+++ /dev/null > > All of this seems like leftovers from previous patches.
Right, I fixed this one at the rename point, 4/5 IIRc
| |