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

[ktap] Re: A syntax error when executing helloworld.kp (Jovi Zhangwei)

On Fri, Dec 6, 2013 at 4:33 PM, wyang w90p710@xxxxxxxxx wrote: Hi Jovi, I am newie on ktap, and tried to play ktap, but i ran into a issue after pulling the latest git repo, and then rebuild ktap. ktap...

View Article


[ktap] Re: A syntax error when executing helloworld.kp (wyang)

On 12/06/2013 04:46 PM, Jovi Zhangwei wrote: On Fri, Dec 6, 2013 at 4:33 PM, wyang w90p710@xxxxxxxxx wrote: Hi Jovi, I am newie on ktap, and tried to play ktap, but i ran into a issue after pulling...

View Article


[ktap] Re: A syntax error when executing helloworld.kp (Jovi Zhangwei)

On Fri, Dec 6, 2013 at 5:06 PM, wyang w90p710@xxxxxxxxx wrote: On 12/06/2013 04:46 PM, Jovi Zhangwei wrote: On Fri, Dec 6, 2013 at 4:33 PM, wyang w90p710@xxxxxxxxx wrote: Hi Jovi, I am newie on ktap,...

View Article

[ktap] Re: [PATCH v5 2/9] Cparser to parse C declareation (Yicheng)

Originally we want to keep them, so we could rewrite them in later version. But it is not a good habit. :) We would change them in the next version. 2013/12/5 Jovi Zhangwei jovi.zhangwei@xxxxxxxxx On...

View Article

[ktap] [PATCH v6 0/9] 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 v6 1/9] Introduce ffi_type, csymbol and ktap_cdata (Yicheng Qin)

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 possible c types in its format. It doesn't contain...

View Article

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

Cparser is able to interpret C declareation, including basic types, aggregate types, type definition and so on. C declareations are converted into csymbol type, which provides type information for...

View Article

[ktap] [PATCH v6 3/9] 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 v6 4/9] Introduce ffi call module in vm (Yicheng Qin)

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 support for new platforms. Signed-off-by:...

View Article


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

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] [PATCH v6 6/9] update gitignore file for FFI related files (Yicheng Qin)

* dont ignore .s file * ignore cparser_test binary Signed-off-by: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx Signed-off-by: Qingping Hou qingping.hou@xxxxxxxxx --- .gitignore | 1 - test/ffi/.gitignore | 2...

View Article

[ktap] [PATCH v6 7/9] 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 v6 8/9] Add ffi test cases and sample script (Yicheng Qin)

Test cases include: * cparser ability * C function call on user-defined kernel functions * C function call on native kernel functions FFI sample scripts include: * sched_clock * halt * printk ...

View Article


[ktap] [PATCH v6 9/9] add CONFIG_KTAP_FFI option to Kconfig (Yicheng Qin)

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] Re: [PATCH v6 9/9] add CONFIG_KTAP_FFI option to Kconfig (Jovi Zhangwei)

On Sat, Dec 7, 2013 at 5:57 PM, Yicheng Qin qycqycqycqycqyc@xxxxxxxxx wrote: From: Qingping Hou qingping.hou@xxxxxxxxx Signed-off-by: Yicheng Qin qycqycqycqycqyc@xxxxxxxxx Signed-off-by: Qingping Hou...

View Article


[ktap] Re: [PATCH v6 0/9] FFI support for ktap (zhangwei(Jovi))

On 2013/12/7 17:57, Yicheng Qin wrote: 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)...

View Article

[ktap] Re: [PATCH v6 9/9] add CONFIG_KTAP_FFI option to Kconfig (Yicheng)

Thanks :) 2013/12/7 Jovi Zhangwei jovi.zhangwei@xxxxxxxxx On Sat, Dec 7, 2013 at 5:57 PM, Yicheng Qin qycqycqycqycqyc@xxxxxxxxx wrote: From: Qingping Hou qingping.hou@xxxxxxxxx Signed-off-by: Yicheng...

View Article


[ktap] Re: [PATCH v6 0/9] FFI support for ktap (Yicheng)

I searched for existing implementation before and found nothing. Maybe it is the first one. :P Sound great! We have our first big patch into ktap! Cheers! 2013/12/7 zhangwei(Jovi)...

View Article

[ktap] Re: [PATCH v6 0/9] FFI support for ktap (Jovi Zhangwei)

On Sun, Dec 8, 2013 at 5:42 AM, Qingping Hou qingpinghou@xxxxxxxxx wrote: On Sat 07 Dec 2013 09:51:22 AM EST, zhangwei(Jovi) wrote: On 2013/12/7 17:57, Yicheng Qin wrote: This patch set implements...

View Article

[ktap] Re: [PATCH v6 0/9] FFI support for ktap (Qingping Hou)

On Sat 07 Dec 2013 11:45:20 PM EST, Jovi Zhangwei wrote: On Sun, Dec 8, 2013 at 5:42 AM, Qingping Hou qingpinghou@xxxxxxxxx wrote: On Sat 07 Dec 2013 09:51:22 AM EST, zhangwei(Jovi) wrote: On 2013/12/7...

View Article
Browsing all 345 articles
Browse latest View live


Latest Images