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

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

On Sun, Nov 17, 2013 at 9:38 PM, 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] [PATCH 0/8] FFI support for ktap (Yicheng Qin)

This patch set implements basic FFI support for ktap. A brief overview of current design: * user define needed C symbols in ktap script (functions, structs, etc) * C symbols get compiled through...

View Article


[ktap] [PATCH 1/8] Introduce ffi_type, csymbol and ktap_cdata (Yicheng Qin)

ffi type is basic type used in ffi module, which has fixed size and alignment. csymbol means symbol for c type, which is designed to represent all possible c types in its format. It doesn't contain any...

View Article

[ktap] [PATCH 2/8] Cparser to parse C declareation (Yicheng Qin)

Cparser is able to interpret C declareation, including basic types, aggregate types, type definition and so on. It converts them into csymbol type, which is used to call C functions in ffi module...

View Article

[ktap] [PATCH 3/8] Integrate cparser into ktap compiler (Yicheng Qin)

When ktapc finds a 'cdef' token, it passes the C code to cparser module, which then generates c symbols accordingly. This patch also handles how to dump c symbols into vm chunk. Signed-off-by: Yicheng...

View Article


[ktap] [PATCH 4/8] Introduce ffi call module in vm (Yicheng Qin)

When you set the stack correctly, you could use kp_ffi_call to call C functions. Only support x86_64 platform now, but it is rather easy to add the support for new platform. Signed-off-by: Yicheng Qin...

View Article

[ktap] [PATCH 5/8] Integrate ffi call module into vm (Yicheng Qin)

This patch adds following features to vm: * loading csymbols from chunks * calling C functions using ffi call module * ffi library with functions that are designed to meet general usage for ffi module....

View Article

[ktap] [PATCH 6/8] Modify gitignore setting to submit .s file (Yicheng Qin)

Signed-off-by: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx Signed-off-by: Qingping Hou qingping.hou@xxxxxxxxx --- .gitignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitignore b/.gitignore index...

View Article


[ktap] [PATCH 7/8] Modify makefile to build ffi module (Yicheng Qin)

This patch adds rule to build ffi module into ktap. Also, it introduces FFI flag to enable/disable FFI funtionality. Signed-off-by: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx Signed-off-by: Qingping Hou...

View Article


[ktap] [PATCH 8/8] Add ffi test cases and script (Yicheng Qin)

Test cases include cparser ability, ffi.current function, C function call on user-defined kernel functions, C function call on native kernel functions. Signed-off-by: Yicheng Qin...

View Article

[ktap] Re: [PATCH 8/8] Add ffi test cases and script (Jovi Zhangwei)

Hi Yicheng, On Wed, Nov 27, 2013 at 3:52 AM, Yicheng Qin qycqycqycqycqyc@xxxxxxxxx wrote: Test cases include cparser ability, ffi.current function, C function call on user-defined kernel functions, C...

View Article

[ktap] Re: [PATCH 8/8] Add ffi test cases and script (Jovi Zhangwei)

Cc: ktap@xxxxxxxxxxxxx On Thu, Nov 28, 2013 at 11:00 AM, Qingping Hou qingpinghou@xxxxxxxxx wrote: On Wed 27 Nov 2013 09:08:21 PM EST, Jovi Zhangwei wrote: On Thu, Nov 28, 2013 at 1:00 AM, Qingping Hou...

View Article

[ktap] Re: [PATCH 8/8] Add ffi test cases and script (Qingping Hou)

On Wed 27 Nov 2013 10:07:56 PM EST, Jovi Zhangwei wrote: For the fix, can I just create a new member for FFI in the global ktap state? It have to if it's needed. OK, we will work on the new patch...

View Article


[ktap] Re: [PATCH 8/8] Add ffi test cases and script (Qingping Hou)

On Wed 27 Nov 2013 10:07:56 PM EST, Jovi Zhangwei wrote: For the fix, can I just create a new member for FFI in the global ktap state? It have to if it's needed. OK, we will work on the new patch...

View Article

[ktap] Re: [PATCH 8/8] Add ffi test cases and script (Jovi Zhangwei)

On Thu, Nov 28, 2013 at 11:17 AM, Qingping Hou dave2008713@xxxxxxxxx wrote: On Wed 27 Nov 2013 10:07:56 PM EST, Jovi Zhangwei wrote: For the fix, can I just create a new member for FFI in the global...

View Article


[ktap] [PATCHv2 0/8] FFI support for ktap (Qingping Hou)

From: Qingping Hou qingping.hou@xxxxxxxxx This patch set implements basic FFI support for ktap. A brief overview of current design: * user define needed C symbols in ktap script (functions, structs,...

View Article

[ktap] [PATCHv2 1/8] Introduce ffi_type, csymbol and ktap_cdata (Qingping Hou)

From: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx ffi type is the basic type used in ffi module, which has fixed size and alignment. csymbol means symbol for c type, which is designed to represent all...

View Article


[ktap] [PATCHv2 2/8] Cparser to parse C declareation (Qingping Hou)

From: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx Cparser is able to interpret C declareation, including basic types, aggregate types, type definition and so on. C declareations are converted into csymbol...

View Article

[ktap] [PATCHv2 3/8] Integrate cparser into ktap compiler (Qingping Hou)

From: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx When ktapc finds a 'cdef' token, it passes the C code to cparser module, which then generates c symbols accordingly. This patch also handles how to dump c...

View Article

[ktap] [PATCHv2 4/8] Introduce ffi call module in vm (Qingping Hou)

From: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx kp_ffi_call function calls into C functions according to arguments passed in ktap vm stack. Only support x86_64 platform now, but it is rather easy to add...

View Article
Browsing all 345 articles
Browse latest View live