diff options
| author | Ingo Molnar <mingo@kernel.org> | 2017-03-28 01:44:43 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2017-03-28 01:44:43 -0400 |
| commit | 3906a13a6b4e78fbc0def03a808f091f0dff1b44 (patch) | |
| tree | c37c8d9fbc1454e0482e60dddb4a4a4af29dfa72 /tools/perf/bench/mem-functions.c | |
| parent | d652f4bbca35100358bad83c29ec0e40a1f8e5cc (diff) | |
| parent | 55f77128e7652e537d6c226d5b56821cdb5c22de (diff) | |
Merge tag 'perf-core-for-mingo-4.12-20170327' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
New features:
- Handle inline functions in callchains (Jin Yao)
- Enable sorting by srcline as key (Milian Wolff)
Fixes:
- Fix no_size logic in addr_filter__resolve_kernel_syms() in the
auxtrace code (Adrian Hunter)
- Fix some thread refcount leaks in 'perf trace' (Arnaldo Carvalho de Melo)
- Fix divide by zero when calculating percent for an event in a group in
the annotate by source line code (Taeung Song)
- build-id files now aren't anymore symlinks, their parent directories
are, so readlink the later (Taeung Song)
- Assorted fixes for null termination problems, mostly related to
readlink, detected by valgrind (Tommi Rantala)
Infrastructure changes:
- Make vfs_getname probe point logic in 'perf trace' more robust
wrt length of pathname (Arnaldo Carvalho de Melo)
- Remove unused 'prefix' parameter from builtins main functions (Arnaldo Carvalho de Melo)
- Show 'perf list sdt' option in man page (Ravi Bangoria)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/bench/mem-functions.c')
| -rw-r--r-- | tools/perf/bench/mem-functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/bench/mem-functions.c b/tools/perf/bench/mem-functions.c index 52504a83b5a1..d1dea33dcfcf 100644 --- a/tools/perf/bench/mem-functions.c +++ b/tools/perf/bench/mem-functions.c | |||
| @@ -284,7 +284,7 @@ static const char * const bench_mem_memcpy_usage[] = { | |||
| 284 | NULL | 284 | NULL |
| 285 | }; | 285 | }; |
| 286 | 286 | ||
| 287 | int bench_mem_memcpy(int argc, const char **argv, const char *prefix __maybe_unused) | 287 | int bench_mem_memcpy(int argc, const char **argv) |
| 288 | { | 288 | { |
| 289 | struct bench_mem_info info = { | 289 | struct bench_mem_info info = { |
| 290 | .functions = memcpy_functions, | 290 | .functions = memcpy_functions, |
| @@ -358,7 +358,7 @@ static const struct function memset_functions[] = { | |||
| 358 | { .name = NULL, } | 358 | { .name = NULL, } |
| 359 | }; | 359 | }; |
| 360 | 360 | ||
| 361 | int bench_mem_memset(int argc, const char **argv, const char *prefix __maybe_unused) | 361 | int bench_mem_memset(int argc, const char **argv) |
| 362 | { | 362 | { |
| 363 | struct bench_mem_info info = { | 363 | struct bench_mem_info info = { |
| 364 | .functions = memset_functions, | 364 | .functions = memset_functions, |
