[ktap] Re: [PATCHv3 1/8] Introduce ffi_type, csymbol and ktap_cdata (Jovi...
On Sat, Nov 30, 2013 at 4:47 AM, Qingping Hou dave2008713@xxxxxxxxx wrote: From: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx ffi type is the basic type used in ffi module, which has fixed size and alignment....
View Article[ktap] Re: [PATCHv3 1/8] Introduce ffi_type, csymbol and ktap_cdata (Jovi...
On Sun, Dec 1, 2013 at 7:04 AM, Qingping Hou qingpinghou@xxxxxxxxx wrote: On Sat 30 Nov 2013 06:06:38 AM EST, Jovi Zhangwei wrote: On Sat, Nov 30, 2013 at 4:47 AM, Qingping Hou dave2008713@xxxxxxxxx...
View Article[ktap] [PATCHv4 0/9] 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] [PATCHv4 1/9] 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] [PATCHv4 2/9] 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] [PATCHv4 3/9] 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] [PATCHv4 4/9] 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[ktap] [PATCHv4 5/9] Integrate ffi call module into vm (Qingping Hou)
From: Qingping Hou qingping.hou@xxxxxxxxx This patch adds following features to vm: * load csymbols from vm chunk file * call C functions using ffi call module * ffi library with functions that are...
View Article[ktap] [PATCHv4 6/9] update gitignore file for FFI related files (Qingping Hou)
From: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx * dont ignore .s file * ignore cparser_test binary Signed-off-by: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx Signed-off-by: Qingping Hou qingping.hou@xxxxxxxxx...
View Article[ktap] [PATCHv4 7/9] Modify makefile to build ffi module (Qingping Hou)
From: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx 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...
View Article[ktap] [PATCHv4 8/9] Add ffi test cases and sample script (Qingping Hou)
From: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx Test cases include: * cparser ability * C function call on user-defined kernel functions * C function call on native kernel functions FFI sample scripts...
View Article[ktap] [PATCHv4 9/9] add CONFIG_KTAP_FFI option to Kconfig (Qingping Hou)
From: Qingping Hou qingping.hou@xxxxxxxxx Signed-off-by: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx Signed-off-by: Qingping Hou qingping.hou@xxxxxxxxx --- Kconfig | 11 +++++++++++ 1 file changed, 11...
View Article[ktap] Devel help (Grzegorz Milos)
Hello, My name is Gregor Milos, I've recently found out about KTap, and being a frequent user of DTrace I really like what you're guys doing. I compiled and played with it a bit, and I'm impressed how...
View Article[ktap] Re: Devel help (Qingping Hou)
On Mon 02 Dec 2013 04:41:22 PM EST, Grzegorz Milos wrote: Hello, My name is Gregor Milos, I've recently found out about KTap, and being a frequent user of DTrace I really like what you're guys doing. I...
View Article[ktap] Re: Devel help (Jovi Zhangwei)
Hi Grzegorz, On Tue, Dec 3, 2013 at 6:37 AM, Qingping Hou qingpinghou@xxxxxxxxx wrote: On Mon 02 Dec 2013 04:41:22 PM EST, Grzegorz Milos wrote: Hello, My name is Gregor Milos, I've recently found out...
View Article[ktap] Re: Devel help (Grzegorz Milos)
As you known, ktap is similar with Dtrace in many places, many script can easily porting to ktap with little effort, Brendan already ported some recently, if you want to use more ktap sample scripts,...
View Article[ktap] Re: Devel help (Jovi Zhangwei)
On Tue, Dec 3, 2013 at 4:18 PM, Grzegorz Milos grzegorz.milos@xxxxxxxxx wrote: As you known, ktap is similar with Dtrace in many places, many script can easily porting to ktap with little effort,...
View Article[ktap] Re: [PATCHv4 8/9] Add ffi test cases and sample script (Jovi Zhangwei)
On Mon, Dec 2, 2013 at 2:48 PM, Qingping Hou dave2008713@xxxxxxxxx wrote: From: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx Test cases include: * cparser ability * C function call on user-defined kernel...
View Article[ktap] Re: [PATCHv4 8/9] Add ffi test cases and sample script (Qingping Hou)
On Wed 04 Dec 2013 12:14:35 AM EST, Jovi Zhangwei wrote: On Mon, Dec 2, 2013 at 2:48 PM, Qingping Hou dave2008713@xxxxxxxxx wrote: From: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx Test cases include: *...
View Article[ktap] Re: [PATCHv4 0/9] FFI support for ktap (Azat Khuzhin)
On Mon, Dec 2, 2013 at 10:48 AM, Qingping Hou dave2008713@xxxxxxxxx wrote: From: Qingping Hou qingping.hou@xxxxxxxxx This patch set implements basic FFI support for ktap. A brief overview of current...
View Article