diff options
author | Ingo Molnar <mingo@kernel.org> | 2019-02-15 04:19:11 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-02-15 04:19:11 -0500 |
commit | 43f4e6279f05eefac058a3524e184cecae463bfe (patch) | |
tree | a29a7fe7e0f187fd7eecc3bbf3dc4daee3fddc14 /tools/perf/builtin-list.c | |
parent | 02106f883cd745523f7766d90a739f983f19e650 (diff) | |
parent | 44ec8396e2dadf0f0806767642cfac9e04d0d5b1 (diff) |
Merge tag 'perf-core-for-mingo-5.1-20190214' 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:
perf list:
Jiri Olsa:
- Display metric expressions for --details option
perf record:
Alexey Budankov:
- Implement --affinity=node|cpu option, leftover, the other patches
in this kit were already applied.
perf trace:
Arnaldo Carvalho de Melo:
- Fix segfaults due to not properly handling negative file descriptor syscall args.
- Fix segfault related to the 'waitid' 'options' prefix showing logic.
- Filter out 'gnome-terminal*' if it is a parent of 'perf trace', to reduce the
syscall feedback loop in system wide sessions.
BPF:
Song Liu:
- Silence "Couldn't synthesize bpf events" warning for EPERM.
Build system:
Arnaldo Carvalho de Melo:
- Fix the test-all.c feature detection fast path that was broken for
quite a while leading to longer build times.
Event parsing:
Jiri Olsa:
- Fix legacy events symbol separator parsing
cs-etm:
Mathieu Poirier:
- Fix some error path return errors and plug some memory leaks.
- Add proper header file for symbols
- Remove unused structure fields.
- Modularize auxtrace_buffer fetch, decoder and packet processing loop.
Vendor events:
Paul Clarke:
- Add assorted metrics for the Power8 and Power9 architectures.
perf report:
Thomas Richter:
- Add s390 diagnostic sampling descriptor size
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/builtin-list.c')
-rw-r--r-- | tools/perf/builtin-list.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/perf/builtin-list.c b/tools/perf/builtin-list.c index ead221e49f00..c9f98d00c0e9 100644 --- a/tools/perf/builtin-list.c +++ b/tools/perf/builtin-list.c | |||
@@ -82,9 +82,9 @@ int cmd_list(int argc, const char **argv) | |||
82 | else if (strcmp(argv[i], "sdt") == 0) | 82 | else if (strcmp(argv[i], "sdt") == 0) |
83 | print_sdt_events(NULL, NULL, raw_dump); | 83 | print_sdt_events(NULL, NULL, raw_dump); |
84 | else if (strcmp(argv[i], "metric") == 0) | 84 | else if (strcmp(argv[i], "metric") == 0) |
85 | metricgroup__print(true, false, NULL, raw_dump); | 85 | metricgroup__print(true, false, NULL, raw_dump, details_flag); |
86 | else if (strcmp(argv[i], "metricgroup") == 0) | 86 | else if (strcmp(argv[i], "metricgroup") == 0) |
87 | metricgroup__print(false, true, NULL, raw_dump); | 87 | metricgroup__print(false, true, NULL, raw_dump, details_flag); |
88 | else if ((sep = strchr(argv[i], ':')) != NULL) { | 88 | else if ((sep = strchr(argv[i], ':')) != NULL) { |
89 | int sep_idx; | 89 | int sep_idx; |
90 | 90 | ||
@@ -102,7 +102,7 @@ int cmd_list(int argc, const char **argv) | |||
102 | s[sep_idx] = '\0'; | 102 | s[sep_idx] = '\0'; |
103 | print_tracepoint_events(s, s + sep_idx + 1, raw_dump); | 103 | print_tracepoint_events(s, s + sep_idx + 1, raw_dump); |
104 | print_sdt_events(s, s + sep_idx + 1, raw_dump); | 104 | print_sdt_events(s, s + sep_idx + 1, raw_dump); |
105 | metricgroup__print(true, true, s, raw_dump); | 105 | metricgroup__print(true, true, s, raw_dump, details_flag); |
106 | free(s); | 106 | free(s); |
107 | } else { | 107 | } else { |
108 | if (asprintf(&s, "*%s*", argv[i]) < 0) { | 108 | if (asprintf(&s, "*%s*", argv[i]) < 0) { |
@@ -119,7 +119,7 @@ int cmd_list(int argc, const char **argv) | |||
119 | details_flag); | 119 | details_flag); |
120 | print_tracepoint_events(NULL, s, raw_dump); | 120 | print_tracepoint_events(NULL, s, raw_dump); |
121 | print_sdt_events(NULL, s, raw_dump); | 121 | print_sdt_events(NULL, s, raw_dump); |
122 | metricgroup__print(true, true, NULL, raw_dump); | 122 | metricgroup__print(true, true, NULL, raw_dump, details_flag); |
123 | free(s); | 123 | free(s); |
124 | } | 124 | } |
125 | } | 125 | } |