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

[ktap] [PATCH 1/3] symbol: replace find_symbol() by get_dso_symbols() (Azat...

Old find_symbol() just find symbol by name, the new one get_dso_symbols() will return all symbols/notes. And user of this functions, will match name/pattern by itself. For now get_dso_symbols() used...

View Article


[ktap] [PATCH 2/3] uprobes,sdt: add all events for all matched symbols/notes...

Not only for first one. As Jovi, noticed for example: mulitple probe location with same sdt name For example(in my x86-64 machine): #readelf -n /lib64/libc.so.6 | grep lll_futex_wake Name:...

View Article


[ktap] [PATCH 3/3] uprobes: use strglobmatch() instead of just strcmp() (Azat...

This will allow us to use pattern's instead of just symbol names For example for C++ applications with it's function names convention, it will be useful for functions with different number of arguments...

View Article

[ktap] [PATCH] symbol: fix segmentation fault at sdt_note_addr() (Azat Khuzhin)

Because dst.d_buf must be 24 bytes long (on x86-64) while there is only 8 bytes (allocated on stack). return address was at: 0x7fffffffdd88 dst.d_buf: 0x7fffffffdd78 And after elf64_xlatetom()...

View Article

[ktap] Re: [PATCH 1/3] symbol: replace find_symbol() by get_dso_symbols()...

Hi Azat, Thanks your patches. On Thu, Nov 14, 2013 at 3:13 AM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: Old find_symbol() just find symbol by name, the new one get_dso_symbols() will return all...

View Article


[ktap] Re: [PATCH 1/3] symbol: replace find_symbol() by get_dso_symbols()...

On Thu, Nov 14, 2013 at 6:37 AM, Jovi Zhangwei jovi.zhangwei@xxxxxxxxx wrote: Hi Azat, Hi Jovi, Thanks your patches. On Thu, Nov 14, 2013 at 3:13 AM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: Old...

View Article

[ktap] Re: [PATCH 1/3] symbol: replace find_symbol() by get_dso_symbols()...

On Thu, Nov 14, 2013 at 4:27 PM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: On Thu, Nov 14, 2013 at 6:37 AM, Jovi Zhangwei jovi.zhangwei@xxxxxxxxx wrote: Hi Azat, Hi Jovi, Thanks your patches. ...

View Article

[ktap] Re: [PATCH 1/3] symbol: replace find_symbol() by get_dso_symbols()...

On Thu, Nov 14, 2013 at 12:36 PM, Jovi Zhangwei jovi.zhangwei@xxxxxxxxx wrote: On Thu, Nov 14, 2013 at 4:27 PM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: On Thu, Nov 14, 2013 at 6:37 AM, Jovi Zhangwei...

View Article


[ktap] [PATCH 5/5] symbol: use actor instead of dynamically allocate array of...

Like Jovi suggested, replace dynamic allocatins, by callback/actor. I've renamed get_dso_symbols() - read_dso_symbols(), since it really do this. read_dso_symbols() will call actor for every symbol/sdt...

View Article


[ktap] Re: [PATCH] doc: document libelf dependency (Azat Khuzhin)

On Mon, Nov 11, 2013 at 6:34 AM, Jovi Zhangwei jovi.zhangwei@xxxxxxxxx wrote: 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...

View Article

[ktap] Re: [PATCH 1/3] symbol: replace find_symbol() by get_dso_symbols()...

On Thu, Nov 14, 2013 at 4:46 PM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: On Thu, Nov 14, 2013 at 12:36 PM, Jovi Zhangwei jovi.zhangwei@xxxxxxxxx wrote: On Thu, Nov 14, 2013 at 4:27 PM, Azat Khuzhin...

View Article

[ktap] ktap now support userspace function and static marks tracing (Jovi...

Hi guys, I'm glad to tell you that ktap now support userspace function and static marks tracing. 1. userspace function tracing You can trace usespace function by name or glob matching. #Example 1:...

View Article

[ktap] [PATCH 1/2] userspace: add options to print sdt notes and symbols from...

Examples: ./ktap -F ./ktap # print symbols ./ktap -M ./ktap # print sdt markers Don't available without libelf. Signed-off-by: Azat Khuzhin a3at.mail@xxxxxxxxx --- userspace/main.c | 28...

View Article


[ktap] [PATCH 2/2] uprobes: fix calling of write_uprobe_event() with...

After 21bbbbf6c7a3f94583b0660b5db33870b6d1232e (Support uprobe/sdt symbol glob match completely) write_uprobe_event() accept symbol name, so we need to give it. While we don't have libelf, just pass...

View Article

[ktap] [PATCH 1/2] userspace: add options to print sdt notes and symbols from...

Examples: ./ktap -F ./ktap # print symbols ./ktap -M ./ktap # print sdt markers Don't available without libelf. Signed-off-by: Azat Khuzhin a3at.mail@xxxxxxxxx --- v2: make it more pretty ...

View Article


[ktap] [PATCH 2/2] uprobes: fix calling of write_uprobe_event() with...

After 21bbbbf6c7a3f94583b0660b5db33870b6d1232e (Support uprobe/sdt symbol glob match completely) write_uprobe_event() accept symbol name, so we need to give it. While we don't have libelf, just pass...

View Article

[ktap] Re: [PATCH 2/2] uprobes: fix calling of write_uprobe_event() with...

Hi Azat, On Sun, Nov 17, 2013 at 5:16 AM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: After 21bbbbf6c7a3f94583b0660b5db33870b6d1232e (Support uprobe/sdt symbol glob match completely) write_uprobe_event()...

View Article


[ktap] Re: [PATCH 1/2] userspace: add options to print sdt notes and symbols...

On Sun, Nov 17, 2013 at 5:16 AM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: Examples: ./ktap -F ./ktap # print symbols ./ktap -M ./ktap # print sdt markers Don't available without libelf. Signed-off-by:...

View Article

[ktap] Re: [PATCH 1/2] userspace: add options to print sdt notes and symbols...

On Sun, Nov 17, 2013 at 5:24 PM, Jovi Zhangwei jovi.zhangwei@xxxxxxxxx wrote: On Sun, Nov 17, 2013 at 5:16 AM, Azat Khuzhin a3at.mail@xxxxxxxxx wrote: Examples: ./ktap -F ./ktap # print symbols ./ktap...

View Article

[ktap] [PATCH 1/2] userspace: add options to print sdt notes and symbols from...

Examples: ./ktap -F ./ktap # print symbols ./ktap -M ./ktap # print sdt markers Don't available without libelf. Signed-off-by: Azat Khuzhin a3at.mail@xxxxxxxxx --- userspace/main.c | 43...

View Article
Browsing all 345 articles
Browse latest View live


Latest Images