Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1253269 > unrolled thread
| Started by | Arnaldo Carvalho de Melo <acme@kernel.org> |
|---|---|
| First post | 2015-10-21 23:40 +0200 |
| Last post | 2015-10-22 09:40 +0200 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.kernel
[GIT PULL 0/5] perf/core improvements and fixes Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-10-21 23:40 +0200
[PATCH 4/5] perf evsel: Print branch filter state with -vv Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-10-21 23:40 +0200
[PATCH 5/5] perf annotate: Add debug message for out of bounds sample Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-10-21 23:40 +0200
Re: [GIT PULL 0/5] perf/core improvements and fixes Ingo Molnar <mingo@kernel.org> - 2015-10-22 09:40 +0200
| From | Arnaldo Carvalho de Melo <acme@kernel.org> |
|---|---|
| Date | 2015-10-21 23:40 +0200 |
| Subject | [GIT PULL 0/5] perf/core improvements and fixes |
| Message-ID | <qm9gZ-6Z6-3@gated-at.bofh.it> |
Hi Ingo,
Please consider pulling,
- Arnaldo
The following changes since commit 43e41adc9e8c36545888d78fed2ef8d102a938dc:
perf record: Add ability to sample call branches (2015-10-20 10:30:55 +0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo
for you to fetch changes up to e3d006ce8180a0c025ce66bdc89bbc125f85be57:
perf annotate: Add debug message for out of bounds sample (2015-10-21 18:12:37 -0300)
----------------------------------------------------------------
perf/core improvements and fixes:
User visible:
- Print branch filter state with verbose mode (Andi Kleen)
- Fix core dump caused by per-socket/core system-wide stat (Kan Liang)
- Update libtraceevent KVM plugin (Paolo Bonzini)
Developer stuff:
- Add fixdep to 'tools/build' .gitignore (Yunlong Song)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
----------------------------------------------------------------
Andi Kleen (1):
perf evsel: Print branch filter state with -vv
Arnaldo Carvalho de Melo (1):
perf annotate: Add debug message for out of bounds sample
Kan Liang (1):
perf cpu_map: Fix core dump caused by per-socket/core system-wide stat
Paolo Bonzini (1):
tools lib traceevent: update KVM plugin
Yunlong Song (1):
perf build: Add fixdep to .gitignore
tools/build/.gitignore | 1 +
tools/lib/traceevent/plugin_kvm.c | 25 +++++++++++++++++--------
tools/perf/util/annotate.c | 5 ++++-
tools/perf/util/cpumap.c | 2 +-
tools/perf/util/evsel.c | 1 +
5 files changed, 24 insertions(+), 10 deletions(-)
create mode 100644 tools/build/.gitignore
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Arnaldo Carvalho de Melo <acme@kernel.org> |
|---|---|
| Date | 2015-10-21 23:40 +0200 |
| Subject | [PATCH 4/5] perf evsel: Print branch filter state with -vv |
| Message-ID | <qm9h1-6Z6-23@gated-at.bofh.it> |
| In reply to | #1253269 |
From: Andi Kleen <ak@linux.intel.com>
Add a missing field to the perf_event_attr debug output.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/1445366797-30894-4-git-send-email-andi@firstfloor.org
[ Print it between config2 and sample_regs_user (peterz)]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/util/evsel.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c
index 8be867ccefe9..ab05fa52a5cd 100644
--- a/tools/perf/util/evsel.c
+++ b/tools/perf/util/evsel.c
@@ -1262,6 +1262,7 @@ int perf_event_attr__fprintf(FILE *fp, struct perf_event_attr *attr,
PRINT_ATTRf(bp_type, p_unsigned);
PRINT_ATTRn("{ bp_addr, config1 }", bp_addr, p_hex);
PRINT_ATTRn("{ bp_len, config2 }", bp_len, p_hex);
+ PRINT_ATTRf(branch_sample_type, p_unsigned);
PRINT_ATTRf(sample_regs_user, p_hex);
PRINT_ATTRf(sample_stack_user, p_unsigned);
PRINT_ATTRf(clockid, p_signed);
--
2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Arnaldo Carvalho de Melo <acme@kernel.org> |
|---|---|
| Date | 2015-10-21 23:40 +0200 |
| Subject | [PATCH 5/5] perf annotate: Add debug message for out of bounds sample |
| Message-ID | <qm9h1-6Z6-27@gated-at.bofh.it> |
| In reply to | #1253269 |
From: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-q0lde9ajs84oi38nlyjcqbwg@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/util/annotate.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c
index d1eece70b84d..0fc8d7a2fea5 100644
--- a/tools/perf/util/annotate.c
+++ b/tools/perf/util/annotate.c
@@ -548,8 +548,11 @@ static int __symbol__inc_addr_samples(struct symbol *sym, struct map *map,
pr_debug3("%s: addr=%#" PRIx64 "\n", __func__, map->unmap_ip(map, addr));
- if (addr < sym->start || addr >= sym->end)
+ if (addr < sym->start || addr >= sym->end) {
+ pr_debug("%s(%d): ERANGE! sym->name=%s, start=%#" PRIx64 ", addr=%#" PRIx64 ", end=%#" PRIx64 "\n",
+ __func__, __LINE__, sym->name, sym->start, addr, sym->end);
return -ERANGE;
+ }
offset = addr - sym->start;
h = annotation__histogram(notes, evidx);
--
2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Date | 2015-10-22 09:40 +0200 |
| Message-ID | <qmiDE-3XH-13@gated-at.bofh.it> |
| In reply to | #1253269 |
* Arnaldo Carvalho de Melo <acme@kernel.org> wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 43e41adc9e8c36545888d78fed2ef8d102a938dc: > > perf record: Add ability to sample call branches (2015-10-20 10:30:55 +0200) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo > > for you to fetch changes up to e3d006ce8180a0c025ce66bdc89bbc125f85be57: > > perf annotate: Add debug message for out of bounds sample (2015-10-21 18:12:37 -0300) > > ---------------------------------------------------------------- > perf/core improvements and fixes: > > User visible: > > - Print branch filter state with verbose mode (Andi Kleen) > > - Fix core dump caused by per-socket/core system-wide stat (Kan Liang) > > - Update libtraceevent KVM plugin (Paolo Bonzini) > > Developer stuff: > > - Add fixdep to 'tools/build' .gitignore (Yunlong Song) > > Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> > > ---------------------------------------------------------------- > Andi Kleen (1): > perf evsel: Print branch filter state with -vv > > Arnaldo Carvalho de Melo (1): > perf annotate: Add debug message for out of bounds sample > > Kan Liang (1): > perf cpu_map: Fix core dump caused by per-socket/core system-wide stat > > Paolo Bonzini (1): > tools lib traceevent: update KVM plugin > > Yunlong Song (1): > perf build: Add fixdep to .gitignore > > tools/build/.gitignore | 1 + > tools/lib/traceevent/plugin_kvm.c | 25 +++++++++++++++++-------- > tools/perf/util/annotate.c | 5 ++++- > tools/perf/util/cpumap.c | 2 +- > tools/perf/util/evsel.c | 1 + > 5 files changed, 24 insertions(+), 10 deletions(-) > create mode 100644 tools/build/.gitignore Pulled, thanks a lot Arnaldo! Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web