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/builtin-script.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/builtin-script.c')
| -rw-r--r-- | tools/perf/builtin-script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index c98e16689b57..46acc8ece41f 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c | |||
| @@ -2359,7 +2359,7 @@ int process_cpu_map_event(struct perf_tool *tool __maybe_unused, | |||
| 2359 | return set_maps(script); | 2359 | return set_maps(script); |
| 2360 | } | 2360 | } |
| 2361 | 2361 | ||
| 2362 | int cmd_script(int argc, const char **argv, const char *prefix __maybe_unused) | 2362 | int cmd_script(int argc, const char **argv) |
| 2363 | { | 2363 | { |
| 2364 | bool show_full_info = false; | 2364 | bool show_full_info = false; |
| 2365 | bool header = false; | 2365 | bool header = false; |
| @@ -2504,7 +2504,7 @@ int cmd_script(int argc, const char **argv, const char *prefix __maybe_unused) | |||
| 2504 | if (argc > 1 && !strncmp(argv[0], "rec", strlen("rec"))) { | 2504 | if (argc > 1 && !strncmp(argv[0], "rec", strlen("rec"))) { |
| 2505 | rec_script_path = get_script_path(argv[1], RECORD_SUFFIX); | 2505 | rec_script_path = get_script_path(argv[1], RECORD_SUFFIX); |
| 2506 | if (!rec_script_path) | 2506 | if (!rec_script_path) |
| 2507 | return cmd_record(argc, argv, NULL); | 2507 | return cmd_record(argc, argv); |
| 2508 | } | 2508 | } |
| 2509 | 2509 | ||
| 2510 | if (argc > 1 && !strncmp(argv[0], "rep", strlen("rep"))) { | 2510 | if (argc > 1 && !strncmp(argv[0], "rep", strlen("rep"))) { |
