Quantcast
Channel: ktap
Browsing all 345 articles
Browse latest View live
↧

[ktap] Re: [PATCH] doc: document libelf dependency (Jovi Zhangwei)

On Mon, Nov 11, 2013 at 1:39 AM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: Hi Ben, On Sun, Nov 10, 2013 at 9:25 PM, Ben Noordhuis info@xxxxxxxxxxxxx wrote: Signed-off-by: Ben Noordhuis info@xxxxxxxxxxxxx...

View Article


[ktap] Re: [PATCH 0/4] stapsdt initial support (Azat Khuzhin)

On Mon, Nov 11, 2013 at 6:24 AM, Jovi Zhangwei jovi.zhangwei@xxxxxxxxx wrote: On Sun, Nov 10, 2013 at 3:50 AM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: Jovi, If you prefer github, here is the link: I...

View Article


[ktap] [PATCH 0/2] small fixes (cross-compile and copy_from_user) (Anders...

There's two patches in this series: 1) When building using e.g. buildroot, PWD was incorrectly set to the buildroot topdir. Make sure that we explicitly set it in the ktap Makefile. 2) Functions as...

View Article

[ktap] [PATCH 1/2] Set PWD in Makefile (Anders Darander)

When cross-compiling using e.g. buildroot, PWD was not reset in the Makefile. That caused PWD to have an incorrect value, and thus building the module failed. Signed-off-by: Anders Darander...

View Article

[ktap] [PATCH 2/2] interpreter/vm.c: include uaccess.h (Anders Darander)

otherwise functions, such as copy_from_user, is implicitly defined. Signed-off-by: Anders Darander anders@xxxxxxxxxxxxxx --- interpreter/vm.c | 1 + 1 file changed, 1 insertion(+) diff --git...

View Article


[ktap] [PATCH 5/6] sdt: replace stapsdt to just sdt (Azat Khuzhin)

It more shorter, and simpler. Signed-off-by: Azat Khuzhin a3at.mail@xxxxxxxxx --- scripts/userspace/gcc_unwind.kp | 2 +- userspace/eventdef.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)...

View Article

[ktap] [PATCH 6/6] stap: fix possible segmentation fault without symbol (Azat...

As Jovi noticed: Segmentation fault for trace sdt:/lib64/libc.so.6 {...} No symbol given in that case. Signed-off-by: Azat Khuzhin a3at.mail@xxxxxxxxx --- userspace/eventdef.c | 10 +++++++--- 1 file...

View Article

[ktap] Re: [PATCH 0/4] stapsdt initial support (Azat Khuzhin)

On Mon, Nov 11, 2013 at 11:08 AM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: On Mon, Nov 11, 2013 at 6:24 AM, Jovi Zhangwei jovi.zhangwei@xxxxxxxxx wrote: On Sun, Nov 10, 2013 at 3:50 AM, Azat Khuzhin...

View Article


[ktap] [PATCH 1/6] symbol: add elf_section_by_name() helper (based on...

Add a helper for searching section in elf by it name. Drop from original unused arguments, and variables. Signed-off-by: Azat Khuzhin a3at.mail@xxxxxxxxx --- userspace/symbol.c | 20...

View Article


[ktap] [PATCH 2/6] symbol: add helpers for sdt probes. (Azat Khuzhin)

Next helpers was added: - search_stapsdt_note() - sdt_note_data() - sdt_note_name() - sdt_note_addr() Based on this patch set: Signed-off-by: Azat Khuzhin a3at.mail@xxxxxxxxx --- ...

View Article

[ktap] [PATCH 3/6] stapsdt: initial support for probing sdt notes. (Azat...

For parsing ktap scripts, uprobes functions are used for stapsdt probes too, the only differ between then is type argument, which is bypassed up to find_symbol() that's it. Signed-off-by: Azat Khuzhin...

View Article

[ktap] [PATCH 4/6] scripts: add test script for stapsdt probes (Azat Khuzhin)

The only library in /lib/x86_64-linux-gnu that have sdt notes is libgcc_s on by machine, with unwind marker. So this patch add a simple ktap script that use it. Signed-off-by: Azat Khuzhin...

View Article

[ktap] [PATCH 5/6] sdt: replace stapsdt to just sdt (Azat Khuzhin)

It more shorter, and simpler. Signed-off-by: Azat Khuzhin a3at.mail@xxxxxxxxx --- scripts/userspace/gcc_unwind.kp | 2 +- userspace/eventdef.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)...

View Article


[ktap] [PATCH 6/6] stap: fix possible segmentation fault without symbol (Azat...

As Jovi noticed: Segmentation fault for trace sdt:/lib64/libc.so.6 {...} No symbol given in that case. Signed-off-by: Azat Khuzhin a3at.mail@xxxxxxxxx --- userspace/eventdef.c | 10 +++++++--- 1 file...

View Article

[ktap] Re: [PATCH 0/4] stapsdt initial support (Azat Khuzhin)

On Mon, Nov 11, 2013 at 6:58 PM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: On Mon, Nov 11, 2013 at 11:08 AM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: On Mon, Nov 11, 2013 at 6:24 AM, Jovi Zhangwei...

View Article


[ktap] Re: [PATCH 0/4] stapsdt initial support (Jovi Zhangwei)

On Mon, Nov 11, 2013 at 10:58 PM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: On Mon, Nov 11, 2013 at 11:08 AM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: On Mon, Nov 11, 2013 at 6:24 AM, Jovi Zhangwei...

View Article

[ktap] Re: [PATCH 0/4] stapsdt initial support (Azat Khuzhin)

On 11 Nov 2013 19:11, Jovi Zhangwei jovi.zhangwei@xxxxxxxxx wrote: On Mon, Nov 11, 2013 at 10:58 PM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: On Mon, Nov 11, 2013 at 11:08 AM, Azat Khuzhin...

View Article


[ktap] Re: [PATCH 0/2] small fixes (cross-compile and copy_from_user) (Jovi...

Hi Anders, On Mon, Nov 11, 2013 at 9:09 PM, Anders Darander anders@xxxxxxxxxxxxxx wrote: There's two patches in this series: 1) When building using e.g. buildroot, PWD was incorrectly set to the...

View Article

[ktap] Re: [PATCH 0/2] small fixes (cross-compile and copy_from_user) (Anders...

Hi Jovi, * Jovi Zhangwei jovi.zhangwei@xxxxxxxxx [131112 06:44]: On Mon, Nov 11, 2013 at 9:09 PM, Anders Darander anders@xxxxxxxxxxxxxx wrote: Sofar, I've not gone through building ktap (userspace...

View Article

[ktap] [PATCH 0/3] replace find_symbol() by get_dso_symbols() (Azat Khuzhin)

Hi Jovi, Here is patches for implementing glob for uprobes. Cheers. This patch set contains next patchees: [PATCH 1/3] symbol: replace find_symbol() by get_dso_symbols() [PATCH 2/3] uprobes,sdt: add...

View Article
Browsing all 345 articles
Browse latest View live