) is designated as new cpu to read counters.
Cc: Madhavan Srinivasan
Cc: Michael Ellerman
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Anton Blanchard
Cc: Sukadev Bhattiprolu
Cc: Michael Neuling
Cc: Stewart Smith
Cc: Daniel Axtens
Cc: Stephane Eranian
Signed-off-by: Hemant Kumar
---
arch
ba.org>
Cc: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: Daniel Axtens <d...@axtens.net>
Cc: Stephane Eranian <eran...@google.com>
Signed-off-by: Hemant Kumar <hem...@linux.vnet.ibm.c
t;
Cc: Michael Ellerman <m...@ellerman.id.au>
Cc: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Cc: Paul Mackerras <pau...@samba.org>
Cc: Anton Blanchard <an...@samba.org>
Cc: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc:
<pau...@samba.org>
Cc: Anton Blanchard <an...@samba.org>
Cc: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: Daniel Axtens <d...@axtens.net>
Cc: Stephane Eranian <eran...
>
Cc: Anton Blanchard <an...@samba.org>
Cc: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: Daniel Axtens <d...@axtens.net>
Cc: Stephane Eranian <eran...@google.com>
Signe
Cc: Daniel Axtens
Cc: Stephane Eranian
Signed-off-by: Hemant Kumar
---
arch/powerpc/include/asm/imc-pmu.h | 73 ++
1 file changed, 73 insertions(+)
create mode 100644 arch/powerpc/include/asm/imc-pmu.h
diff --git a/arch/powerpc/include/asm/imc-pmu.h
b/arch/power
Eranian
Signed-off-by: Hemant Kumar
---
arch/powerpc/include/asm/imc-pmu.h| 1 +
arch/powerpc/perf/imc-pmu.c | 122 ++
arch/powerpc/platforms/powernv/opal-imc.c | 29 ++-
3 files changed, 148 insertions(+), 4 deletions(-)
diff --git a/arch
now, only Nest
units are taken care of.
Cc: Madhavan Srinivasan
Cc: Michael Ellerman
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Anton Blanchard
Cc: Sukadev Bhattiprolu
Cc: Michael Neuling
Cc: Stewart Smith
Cc: Daniel Axtens
Cc: Stephane Eranian
Signed-off-by: Hemant Kumar
---
ar
events (Patch 3/6).
- Fixed a Build error (for maple_defconfig) by enabling imc_pmu.o
only for CONFIG_PPC_POWERNV=y (Patch 4/6)
- Read from the "event-name" property instead of "name" for an event
node (Patch 3/6).
Cc: Madhavan Srinivasan
Cc: Michael Ellerman
Cc: Benjamin
offsets, i.e., '-' sign before the offsets, this works
fine because, it takes the sign as is.
So, we need to explicitly mention the offset sign.
--
Thanks,
Hemant Kumar
$ perf probe -x test_sdt sdt_libfoo:table_diddle
$ perf record -e sdt_libfoo:table_frob -e sdt_libfoo:table_diddle test_sdt
$ perf sc
offsets, i.e., '-' sign before the offsets, this works
fine because, it takes the sign as is.
So, we need to explicitly mention the offset sign.
--
Thanks,
Hemant Kumar
$ perf probe -x test_sdt sdt_libfoo:table_diddle
$ perf record -e sdt_libfoo:table_frob -e sdt_libfoo:table_diddle test_sdt
$ perf sc
ba.org>
Cc: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: Stephane Eranian <eran...@google.com>
Signed-off-by: Hemant Kumar <hem...@linux.vnet.ibm.com>
---
arch/powerpc/platforms/powern
ng <mi...@neuling.org>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: Stephane Eranian <eran...@google.com>
Signed-off-by: Hemant Kumar <hem...@linux.vnet.ibm.com>
---
Changelog:
v1 -> v2:
- Changes to Makefile to only enable this feature for
CONFIG_PPC_POWERNV=y
arch/
now, only Nest
units are taken care of.
Cc: Madhavan Srinivasan
Cc: Michael Ellerman
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Anton Blanchard
Cc: Sukadev Bhattiprolu
Cc: Michael Neuling
Cc: Stewart Smith
Cc: Stephane Eranian
Signed-off-by: Hemant Kumar
---
arch/powerpc/platfor
: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Anton Blanchard
Cc: Sukadev Bhattiprolu
Cc: Michael Neuling
Cc: Stewart Smith
Cc: Stephane Eranian
Signed-off-by: Hemant Kumar
---
Changelog:
v1 -> v2:
- Changes to Makefile to only enable this feature for
CONFIG_PPC_POWERNV=y
arch
Cc: Paul Mackerras <pau...@samba.org>
Cc: Anton Blanchard <an...@samba.org>
Cc: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: Daniel Axtens <d...@axtens.net>
Cc: Stephane
>
Cc: Anton Blanchard <an...@samba.org>
Cc: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: Stephane Eranian <eran...@google.com>
Signed-off-by: Hemant Kumar <hem...@li
: Paul Mackerras <pau...@samba.org>
Cc: Anton Blanchard <an...@samba.org>
Cc: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: Stephane Eranian <eran...@google.com>
Signed
<pau...@samba.org>
Cc: Anton Blanchard <an...@samba.org>
Cc: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: Stephane Eranian <eran...@google.com>
Signed-off-by: Hemant Kum
PC_POWERNV=y (Patch 4/6)
- Read from the "event-name" property instead of "name" for an event
node (Patch 3/6).
Cc: Madhavan Srinivasan
Cc: Michael Ellerman
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Anton Blanchard
Cc: Sukadev Bhattiprolu
Cc: Michael Neuling
Cc: Ste
-by: Hemant Kumar
---
arch/powerpc/include/asm/ima-pmu.h| 2 +
arch/powerpc/perf/ima-pmu.c | 122 ++
arch/powerpc/platforms/powernv/opal-ima.c | 37 +++--
3 files changed, 154 insertions(+), 7 deletions(-)
diff --git a/arch/powerpc/include
c: Stewart Smith
Cc: Stephane Eranian
Signed-off-by: Hemant Kumar
---
Changelog :
v1 -> v2:
- Read from the "event-name" property instead of "name" property for
an event node.
- Assign scale and unit values for events for a PMU which has a common
unit and scale value.
: Stephane Eranian
Signed-off-by: Hemant Kumar
---
arch/powerpc/include/asm/ima-pmu.h | 73 ++
1 file changed, 73 insertions(+)
create mode 100644 arch/powerpc/include/asm/ima-pmu.h
diff --git a/arch/powerpc/include/asm/ima-pmu.h
b/arch/powerpc/include/asm/ima
Cc: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: Stephane Eranian <eran...@google.com>
Signed-off-by: Hemant Kumar <hem...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/opa
) is designated as new cpu to read counters.
Cc: Madhavan Srinivasan
Cc: Michael Ellerman
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Anton Blanchard
Cc: Sukadev Bhattiprolu
Cc: Michael Neuling
Cc: Stewart Smith
Cc: Stephane Eranian
Signed-off-by: Hemant Kumar
---
arch/powerpc/include/asm
ENAMING(esi, si),
+ REG_RENAMING(rsi, si),
+ REG_RENAMING(edi, di),
+ REG_RENAMING(rdi, di),
+ REG_RENAMING(ebp, bp),
+ REG_RENAMING(rbp, bp),
+ REG_RENAMING_END,
+};
Please put the above in arch helper headers for x86, as these register
names and their conversions ar
G(rsi, si),
+ REG_RENAMING(edi, di),
+ REG_RENAMING(rdi, di),
+ REG_RENAMING(ebp, bp),
+ REG_RENAMING(rbp, bp),
+ REG_RENAMING_END,
+};
Please put the above in arch helper headers for x86, as these register
names and their conversions are specific to x86.
[SNIP]
--
Thanks,
Hemant Kumar
ng <mi...@neuling.org>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: Stephane Eranian <eran...@google.com>
Signed-off-by: Hemant Kumar <hem...@linux.vnet.ibm.com>
---
arch/powerpc/perf/Makefile| 3 +-
arch/powerpc/perf/ima-pmu.c | 96 +++
: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Anton Blanchard
Cc: Sukadev Bhattiprolu
Cc: Michael Neuling
Cc: Stewart Smith
Cc: Stephane Eranian
Signed-off-by: Hemant Kumar
---
arch/powerpc/perf/Makefile| 3 +-
arch/powerpc/perf/ima-pmu.c
ba.org>
Cc: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: Stephane Eranian <eran...@google.com>
Signed-off-by: Hemant Kumar <hem...@linux.vnet.ibm.com>
---
arch/powerpc/platforms/powern
Cc: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: Stephane Eranian <eran...@google.com>
Signed-off-by: Hemant Kumar <hem...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/opa
now, only Nest
units are taken care of.
Cc: Madhavan Srinivasan
Cc: Michael Ellerman
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Anton Blanchard
Cc: Sukadev Bhattiprolu
Cc: Michael Neuling
Cc: Stewart Smith
Cc: Stephane Eranian
Signed-off-by: Hemant Kumar
---
arch/powerpc/platfor
) is designated as new cpu to read counters.
Cc: Madhavan Srinivasan
Cc: Michael Ellerman
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Anton Blanchard
Cc: Sukadev Bhattiprolu
Cc: Michael Neuling
Cc: Stewart Smith
Cc: Stephane Eranian
Signed-off-by: Hemant Kumar
---
arch/powerpc/include/asm
>
Cc: Anton Blanchard <an...@samba.org>
Cc: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: Stephane Eranian <eran...@google.com>
Signed-off-by: Hemant Kumar <hem...@li
net.ibm.com>
Cc: Stephane Eranian <eran...@google.com>
Signed-off-by: Hemant Kumar <hem...@linux.vnet.ibm.com>
---
arch/powerpc/platforms/powernv/opal-ima.c | 299 ++
1 file changed, 299 insertions(+)
diff --git a/arch/powerpc/platforms/powernv/opal-ima.c
b/ar
-by: Hemant Kumar
---
arch/powerpc/include/asm/ima-pmu.h| 2 +
arch/powerpc/perf/ima-pmu.c | 122 ++
arch/powerpc/platforms/powernv/opal-ima.c | 37 +++--
3 files changed, 154 insertions(+), 7 deletions(-)
diff --git a/arch/powerpc/include
Anton Blanchard
Cc: Sukadev Bhattiprolu
Cc: Michael Neuling
Cc: Stewart Smith
Cc: Stephane Eranian
Signed-off-by: Hemant Kumar
---
arch/powerpc/platforms/powernv/opal-ima.c | 299 ++
1 file changed, 299 insertions(+)
diff --git a/arch/powerpc/platforms/powernv/opal-i
/suggestions are welcome.
Cc: Madhavan Srinivasan <ma...@linux.vnet.ibm.com>
Cc: Michael Ellerman <m...@ellerman.id.au>
Cc: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Cc: Paul Mackerras <pau...@samba.org>
Cc: Anton Blanchard <an...@samba.org>
Cc: Sukadev
<pau...@samba.org>
Cc: Anton Blanchard <an...@samba.org>
Cc: Sukadev Bhattiprolu <suka...@linux.vnet.ibm.com>
Cc: Michael Neuling <mi...@neuling.org>
Cc: Stewart Smith <stew...@linux.vnet.ibm.com>
Cc: Stephane Eranian <eran...@google.com>
Signed-off-by: Hemant Kum
ack/suggestions are welcome.
Cc: Madhavan Srinivasan
Cc: Michael Ellerman
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Anton Blanchard
Cc: Sukadev Bhattiprolu
Cc: Michael Neuling
Cc: Stewart Smith
Cc: Stephane Eranian
Signed-off-by: Hemant Kumar
Hemant Kumar (6):
powerpc/powernv: Data
: Stephane Eranian
Signed-off-by: Hemant Kumar
---
arch/powerpc/include/asm/ima-pmu.h | 73 ++
1 file changed, 73 insertions(+)
create mode 100644 arch/powerpc/include/asm/ima-pmu.h
diff --git a/arch/powerpc/include/asm/ima-pmu.h
b/arch/powerpc/include/asm/ima
Commit-ID: 060fa0c7a3e0bb4f1426ee79dfd38e2a4c80067a
Gitweb: http://git.kernel.org/tip/060fa0c7a3e0bb4f1426ee79dfd38e2a4c80067a
Author: Hemant Kumar <hem...@linux.vnet.ibm.com>
AuthorDate: Fri, 1 Jul 2016 17:03:46 +0900
Committer: Arnaldo Carvalho de Melo <a...@redhat.com>
Com
Commit-ID: 060fa0c7a3e0bb4f1426ee79dfd38e2a4c80067a
Gitweb: http://git.kernel.org/tip/060fa0c7a3e0bb4f1426ee79dfd38e2a4c80067a
Author: Hemant Kumar
AuthorDate: Fri, 1 Jul 2016 17:03:46 +0900
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 4 Jul 2016 19:38:59 -0300
perf sdt: ELF
is here; https://lkml.org/lkml/2016/5/14/107
This version just fixes 2 points according to Hemant's comment,
and split out the filename__readable() patch.
Thanks for working on those Masami.
For the patches not already picked up by Arnaldo,
Acked-by: Hemant Kumar <hem...@linux.vnet.ibm.com&g
l.org/lkml/2016/5/14/107
This version just fixes 2 points according to Hemant's comment,
and split out the filename__readable() patch.
Thanks for working on those Masami.
For the patches not already picked up by Arnaldo,
Acked-by: Hemant Kumar
Changes in v9:
- [1/16,2/16] split out th
,
---
Hemant Kumar (1):
perf/sdt: ELF support for SDT
Masami Hiramatsu (15):
perf buildid: Introduce DSO__NAME_KALLSYMS and DSO__NAME_KCORE
perf symbol: Cleanup the code flow of dso__find_kallsyms
perf-buildid-cache: Use path/to/bin/buildid/elf instead of
path/to/bin
,
---
Hemant Kumar (1):
perf/sdt: ELF support for SDT
Masami Hiramatsu (15):
perf buildid: Introduce DSO__NAME_KALLSYMS and DSO__NAME_KCORE
perf symbol: Cleanup the code flow of dso__find_kallsyms
perf-buildid-cache: Use path/to/bin/buildid/elf instead of
path/to/bin
uct probe_cache_entry *probe_cache__find(struct
probe_cache *pcache,
struct probe_cache_entry *probe_cache__find_by_name(struct probe_cache
*pcache,
const char *group, const char *event);
int probe_cache__show_all_caches(struct strfilter *filter);
+#else /* ! HAVE_LIBELF_SUPPORT */
+static inline struct probe_cache *probe_cache__new(const char *tgt
__maybe_unused)
+{
+ return NULL;
+}
+#define probe_cache__delete(pcache) do {} while(0)
+#endif
#endif
--
Thanks,
Hemant Kumar
_by_name(struct probe_cache
*pcache,
const char *group, const char *event);
int probe_cache__show_all_caches(struct strfilter *filter);
+#else /* ! HAVE_LIBELF_SUPPORT */
+static inline struct probe_cache *probe_cache__new(const char *tgt
__maybe_unused)
+{
+ return NULL;
+}
+#define probe_cache__delete(pcache) do {} while(0)
+#endif
#endif
--
Thanks,
Hemant Kumar
*pcache,
+ struct strfilter *filter);
struct probe_cache_entry *probe_cache__find(struct probe_cache *pcache,
struct perf_probe_event *pev);
struct probe_cache_entry *probe_cache__find_by_name(struct probe_cache
*pcache,
--
Thanks,
Hemant Kumar
probe_cache *pcache,
struct perf_probe_event *pev);
struct probe_cache_entry *probe_cache__find_by_name(struct probe_cache
*pcache,
--
Thanks,
Hemant Kumar
On 05/03/2016 06:05 AM, Masami Hiramatsu wrote:
On Tue, 03 May 2016 05:06:24 +0530
Hemant Kumar <hem...@linux.vnet.ibm.com> wrote:
Hi Masami,
On 04/30/2016 06:06 PM, Masami Hiramatsu wrote:
Hi Hemant,
On Fri, 29 Apr 2016 19:10:41 +0530
Hemant Kumar <hem...@linux.vnet.ibm.c
On 05/03/2016 06:05 AM, Masami Hiramatsu wrote:
On Tue, 03 May 2016 05:06:24 +0530
Hemant Kumar wrote:
Hi Masami,
On 04/30/2016 06:06 PM, Masami Hiramatsu wrote:
Hi Hemant,
On Fri, 29 Apr 2016 19:10:41 +0530
Hemant Kumar wrote:
This patch adds support for directly recording SDT events
a list of the event names
that were written to uprobe_events file. After finishing the record
session, it removes the events from the uprobe_events file using the
maintained name list.
Signed-off-by: Hemant Kumar <hem...@linux.vnet.ibm.com>
---
Changes since v1:
- Added support for recordi
a list of the event names
that were written to uprobe_events file. After finishing the record
session, it removes the events from the uprobe_events file using the
maintained name list.
Signed-off-by: Hemant Kumar
---
Changes since v1:
- Added support for recording on multiple SDT events with
Hi Masami,
On 04/30/2016 06:06 PM, Masami Hiramatsu wrote:
Hi Hemant,
On Fri, 29 Apr 2016 19:10:41 +0530
Hemant Kumar <hem...@linux.vnet.ibm.com> wrote:
This patch adds support for directly recording SDT events which are
present in the probe cache. This patch is based on curre
Hi Masami,
On 04/30/2016 06:06 PM, Masami Hiramatsu wrote:
Hi Hemant,
On Fri, 29 Apr 2016 19:10:41 +0530
Hemant Kumar wrote:
This patch adds support for directly recording SDT events which are
present in the probe cache. This patch is based on current SDT
enablement patchset (v5) by Masami
--
Thanks,
Hemant Kumar
- (ftrace) Support multiple SDTs on single event.
Thank you,
---
Hemant Kumar (1):
perf/sdt: ELF support for SDT
Masami Hiramatsu (14):
perf probe: Use strbuf for making strings
perf-buildid-cache: Use path/to/bin/buildid/elf instead of
path/to/b
--
Thanks,
Hemant Kumar
- (ftrace) Support multiple SDTs on single event.
Thank you,
---
Hemant Kumar (1):
perf/sdt: ELF support for SDT
Masami Hiramatsu (14):
perf probe: Use strbuf for making strings
perf-buildid-cache: Use path/to/bin/buildid/elf instead of
path/to/b
t also maintains a list of the event names
that were written to uprobe_events file. After finishing the record
session, it removes the events from the uprobe_events file using the
maintained name list.
Signed-off-by: Hemant Kumar <hem...@linux.vnet.ibm.com>
---
tools/perf/builtin-probe.c
t also maintains a list of the event names
that were written to uprobe_events file. After finishing the record
session, it removes the events from the uprobe_events file using the
maintained name list.
Signed-off-by: Hemant Kumar
---
tools/perf/builtin-probe.c | 44 +++---
tools/perf/builtin
Reuse the "myevent" from cache as below.
# perf probe -x ./perf %myevent
TODO:
Wildcard is not supported yet.
Signed-off-by: Masami Hiramatsu <masami.hiramatsu...@hitachi.com>
Acked-by: Hemant Kumar <hem...@linux.vnet.ibm.com>
---
tools/pe
from cache as below.
# perf probe -x ./perf %myevent
TODO:
Wildcard is not supported yet.
Signed-off-by: Masami Hiramatsu
Acked-by: Hemant Kumar
---
tools/perf/Documentation/perf-probe.txt |3 +
tools/perf/util/probe-event.c | 78 +++
tdcxx:throw@/usr/lib64/libstdc++.so.6.0.20(91c7a88fdf49)
The binary path and build-id are shown in below format;
:@()
Signed-off-by: Masami Hiramatsu <masami.hiramatsu...@hitachi.com>
Signed-off-by: Masami Hiramatsu <mhira...@kernel.org>
Acked-by: Hemant Kumar <hem...@linu
.so.6.0.20(91c7a88fdf49)
The binary path and build-id are shown in below format;
:@()
Signed-off-by: Masami Hiramatsu
Signed-off-by: Masami Hiramatsu
Acked-by: Hemant Kumar
---
Changes in v5:
- Fix a build error for minimal option.
Changes in v4:
- Update patch description.
-cache.
Signed-off-by: Masami Hiramatsu <mhira...@kernel.org>
---
Changes in v5.1:
- Fix a SEGV bug when a group name is omitted. (Thanks Hemant!)
Thanks for the fix.
Acked-by: Hemant Kumar <hem...@linux.vnet.ibm.com>
---
tools/perf/util/probe-ev
-cache.
Signed-off-by: Masami Hiramatsu
---
Changes in v5.1:
- Fix a SEGV bug when a group name is omitted. (Thanks Hemant!)
Thanks for the fix.
Acked-by: Hemant Kumar
---
tools/perf/util/probe-event.c | 153 -
tools/perf/util/probe-event.h |1
opy correct group name to entries.
- Fix to consolidate same-name entries.
Acked-by: Hemant Kumar <hem...@linux.vnet.ibm.com>
---
tools/perf/util/build-id.c | 27 +++--
tools/perf/util/probe-file.c | 67 --
tools/perf/u
d events. Normal one starts with "#", but SDTs are
starting with "%".
Signed-off-by: Masami Hiramatsu
Signed-off-by: Masami Hiramatsu
---
Changes in v4:
- Fix a bug to copy correct group name to entries.
- Fix to consolidate same-name entries.
Acked-by: Hemant K
On 04/28/2016 01:06 AM, Masami Hiramatsu wrote:
On Wed, 27 Apr 2016 12:28:16 -0300
Arnaldo Carvalho de Melo <a...@kernel.org> wrote:
Em Wed, Apr 27, 2016 at 08:49:08PM +0530, Hemant Kumar escreveu:
On 04/26/2016 02:34 PM, Masami Hiramatsu wrote:
From: Masami Hiramatsu <masami.
On 04/28/2016 01:06 AM, Masami Hiramatsu wrote:
On Wed, 27 Apr 2016 12:28:16 -0300
Arnaldo Carvalho de Melo wrote:
Em Wed, Apr 27, 2016 at 08:49:08PM +0530, Hemant Kumar escreveu:
On 04/26/2016 02:34 PM, Masami Hiramatsu wrote:
From: Masami Hiramatsu
perf buildid-cache --add scans
On 04/27/2016 08:58 PM, Arnaldo Carvalho de Melo wrote:
Em Wed, Apr 27, 2016 at 08:49:08PM +0530, Hemant Kumar escreveu:
On 04/26/2016 02:34 PM, Masami Hiramatsu wrote:
From: Masami Hiramatsu <masami.hiramatsu...@hitachi.com>
perf buildid-cache --add scans given binary and add
t
On 04/27/2016 08:58 PM, Arnaldo Carvalho de Melo wrote:
Em Wed, Apr 27, 2016 at 08:49:08PM +0530, Hemant Kumar escreveu:
On 04/26/2016 02:34 PM, Masami Hiramatsu wrote:
From: Masami Hiramatsu
perf buildid-cache --add scans given binary and add
the SDT events to probe cache. "sdt_&qu
Removes -x option when using pre-cached events.
- (perf probe) Support @FILE/@BUILDID suffix for pre-cached events.
- (perf buildid-cache) Fallback to old style buildid-cache.
Thank you,
---
Hemant Kumar (1):
perf/sdt: ELF support for SDT
Masami Hiramatsu (18):
perf probe:
Removes -x option when using pre-cached events.
- (perf probe) Support @FILE/@BUILDID suffix for pre-cached events.
- (perf buildid-cache) Fallback to old style buildid-cache.
Thank you,
---
Hemant Kumar (1):
perf/sdt: ELF support for SDT
Masami Hiramatsu (18):
perf probe:
+++ b/tools/perf/util/probe-file.h
@@ -32,6 +32,11 @@ struct probe_cache {
struct list_head list;
};
+int probe_cache_entry__get_event(struct probe_cache_entry *entry,
+ struct probe_trace_event **tevs);
+#define for_each_probe_cache_entry(entry, pcache) \
+ list_for_each_entry(entry, >list, list)
+
struct probe_cache *probe_cache__new(const char *target);
int probe_cache__add_entry(struct probe_cache *pcache,
struct perf_probe_event *pev,
--
Thanks,
Hemant Kumar
le.h
@@ -32,6 +32,11 @@ struct probe_cache {
struct list_head list;
};
+int probe_cache_entry__get_event(struct probe_cache_entry *entry,
+ struct probe_trace_event **tevs);
+#define for_each_probe_cache_entry(entry, pcache) \
+ list_for_each_entry(entry, >list, list)
+
struct probe_cache *probe_cache__new(const char *target);
int probe_cache__add_entry(struct probe_cache *pcache,
struct perf_probe_event *pev,
--
Thanks,
Hemant Kumar
struct perf_probe_event *pev,
struct probe_trace_event *tevs, int ntevs);
+int probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname);
int probe_cache__commit(struct probe_cache *pcache);
void probe_cache__delete(struct probe_cache *pcache);
int probe_cache__remove_entries(struct probe_cache *pcache,
--
Thanks,
Hemant Kumar
+int probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname);
int probe_cache__commit(struct probe_cache *pcache);
void probe_cache__delete(struct probe_cache *pcache);
int probe_cache__remove_entries(struct probe_cache *pcache,
--
Thanks,
Hemant Kumar
Commit-ID: 270bde1e76f400d81f8d0ab68905a18ee17fa2e8
Gitweb: http://git.kernel.org/tip/270bde1e76f400d81f8d0ab68905a18ee17fa2e8
Author: Hemant Kumar
AuthorDate: Tue, 2 Feb 2016 20:56:46 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 2 Feb 2016 13:30:16 -0300
perf probe
Commit-ID: 162607ea20fafb4a76234ebe4314cd733345482e
Gitweb: http://git.kernel.org/tip/162607ea20fafb4a76234ebe4314cd733345482e
Author: Hemant Kumar
AuthorDate: Thu, 28 Jan 2016 12:03:04 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Fri, 29 Jan 2016 17:49:48 -0300
perf kvm/{x86
Commit-ID: 78e6c39b231a8e31e193534fdbe29291b7fd8f37
Gitweb: http://git.kernel.org/tip/78e6c39b231a8e31e193534fdbe29291b7fd8f37
Author: Hemant Kumar
AuthorDate: Thu, 28 Jan 2016 12:03:07 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Fri, 29 Jan 2016 17:49:54 -0300
perf kvm
Commit-ID: 066d3593e1b14690dc1131d50cacbb0b7eb3f160
Gitweb: http://git.kernel.org/tip/066d3593e1b14690dc1131d50cacbb0b7eb3f160
Author: Hemant Kumar
AuthorDate: Thu, 28 Jan 2016 12:03:06 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Fri, 29 Jan 2016 17:49:54 -0300
perf kvm
Commit-ID: 48deaa74fcdad516a94fe38a4af706747d9e4745
Gitweb: http://git.kernel.org/tip/48deaa74fcdad516a94fe38a4af706747d9e4745
Author: Hemant Kumar
AuthorDate: Thu, 28 Jan 2016 12:03:05 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Fri, 29 Jan 2016 17:49:53 -0300
perf kvm/{x86
Commit-ID: 162607ea20fafb4a76234ebe4314cd733345482e
Gitweb: http://git.kernel.org/tip/162607ea20fafb4a76234ebe4314cd733345482e
Author: Hemant Kumar <hem...@linux.vnet.ibm.com>
AuthorDate: Thu, 28 Jan 2016 12:03:04 +0530
Committer: Arnaldo Carvalho de Melo <a...@redhat.com>
Commit-ID: 78e6c39b231a8e31e193534fdbe29291b7fd8f37
Gitweb: http://git.kernel.org/tip/78e6c39b231a8e31e193534fdbe29291b7fd8f37
Author: Hemant Kumar <hem...@linux.vnet.ibm.com>
AuthorDate: Thu, 28 Jan 2016 12:03:07 +0530
Committer: Arnaldo Carvalho de Melo <a...@redhat.com>
Commit-ID: 066d3593e1b14690dc1131d50cacbb0b7eb3f160
Gitweb: http://git.kernel.org/tip/066d3593e1b14690dc1131d50cacbb0b7eb3f160
Author: Hemant Kumar <hem...@linux.vnet.ibm.com>
AuthorDate: Thu, 28 Jan 2016 12:03:06 +0530
Committer: Arnaldo Carvalho de Melo <a...@redhat.com>
Commit-ID: 48deaa74fcdad516a94fe38a4af706747d9e4745
Gitweb: http://git.kernel.org/tip/48deaa74fcdad516a94fe38a4af706747d9e4745
Author: Hemant Kumar <hem...@linux.vnet.ibm.com>
AuthorDate: Thu, 28 Jan 2016 12:03:05 +0530
Committer: Arnaldo Carvalho de Melo <a...@redhat.com>
Commit-ID: 270bde1e76f400d81f8d0ab68905a18ee17fa2e8
Gitweb: http://git.kernel.org/tip/270bde1e76f400d81f8d0ab68905a18ee17fa2e8
Author: Hemant Kumar <hem...@linux.vnet.ibm.com>
AuthorDate: Tue, 2 Feb 2016 20:56:46 +0530
Committer: Arnaldo Carvalho de Melo <a...@redhat.com>
Com
tions (.eh_frame and
.debug_frame), which is done in this patch.
Note that, we can always force everything into both .eh_frame and
.debug_frame by :
$ gcc bin.c -fasynchronous-unwind-tables -fno-dwarf2-cfi-asm -g -o bin
Acked-by: Masami Hiramatsu
Signed-off-by: Hemant Kumar
---
Changes since v3
tions (.eh_frame and
.debug_frame), which is done in this patch.
Note that, we can always force everything into both .eh_frame and
.debug_frame by :
$ gcc bin.c -fasynchronous-unwind-tables -fno-dwarf2-cfi-asm -g -o bin
Acked-by: Masami Hiramatsu <masami.hiramatsu...@hitachi.com>
Signed-off-
Its better to remove the dependency on uapi/kvm_perf.h to allow dynamic
discovery of kvm events (if its needed). To do this, some extern
variables have been introduced with which we can keep the generic
functions generic.
Signed-off-by: Hemant Kumar
Acked-by: Alexander Yarygin
---
Changelog
1.70us
0.58us ( +- 4.77% )
H_RTAS 6 0.48% 0.85% 1.10us 9.25us
2.70us ( +- 48.57% )
H_PERFMON 4 0.32% 0.12% 0.41us 0.96us
0.59us ( +- 20.92% )
Total Samples:1244, Total events handled time:1916.69us.
Signed-
gned-off-by: Srikar Dronamraju
Signed-off-by: Hemant Kumar
---
Changelog:
v10 to v11:
- Fixed a bug related to tracepoint_error when rebasing to v4.5-rc1.
v8 to v9:
- Moved the book3s specific setup into one function.
- Removed the macros (which were being used only once).
- Formatting changes.
v7
This patch removes the "const" qualifier from kvm_events_tp declaration
to account for the fact that some architectures may need to update this
variable dynamically. For instance, powerpc will need to update this
variable dynamically depending on the machine type.
Signed-off-by: He
gned-off-by: Srikar Dronamraju <sri...@linux.vnet.ibm.com>
Signed-off-by: Hemant Kumar <hem...@linux.vnet.ibm.com>
---
Changelog:
v10 to v11:
- Fixed a bug related to tracepoint_error when rebasing to v4.5-rc1.
v8 to v9:
- Moved the book3s specific setup into one function.
- Removed t
1.70us
0.58us ( +- 4.77% )
H_RTAS 6 0.48% 0.85% 1.10us 9.25us
2.70us ( +- 48.57% )
H_PERFMON 4 0.32% 0.12% 0.41us 0.96us
0.59us ( +- 20.92% )
Total Samples:1244, Total events handled time:1916.69us.
Signed-off-b
This patch removes the "const" qualifier from kvm_events_tp declaration
to account for the fact that some architectures may need to update this
variable dynamically. For instance, powerpc will need to update this
variable dynamically depending on the machine type.
Signed-off-by: Hemant
Its better to remove the dependency on uapi/kvm_perf.h to allow dynamic
discovery of kvm events (if its needed). To do this, some extern
variables have been introduced with which we can keep the generic
functions generic.
Signed-off-by: Hemant Kumar <hem...@linux.vnet.ibm.com>
Acked-by: Ale
tions (.eh_frame and
.debug_frame), which is done in this patch.
Note that, we can always force everything into both .eh_frame and
.debug_frame by :
$ gcc bin.c -fasynchronous-unwind-tables -fno-dwarf2-cfi-asm -g -o bin
Signed-off-by: Hemant Kumar
---
Changes since v1:
- pf->cfi is now cached a
201 - 300 of 627 matches
Mail list logo