Re: [PATCH 15/28] ktap: add built-in functions and library (runtime/lib_*.c)

2014-04-01 Thread Jovi Zhangwei
On Mon, Mar 31, 2014 at 9:13 PM, Andi Kleen wrote: > On Mon, Mar 31, 2014 at 10:01:04AM +0800, Jovi Zhangwei wrote: >> On Sun, Mar 30, 2014 at 8:58 AM, Andi Kleen wrote: >> >> Maybe in future, after ktap support "include" or "require" to >> >> import user defined library in userspace. >> > >> > C

Re: [PATCH 15/28] ktap: add built-in functions and library (runtime/lib_*.c)

2014-03-31 Thread Andi Kleen
On Mon, Mar 31, 2014 at 10:01:04AM +0800, Jovi Zhangwei wrote: > On Sun, Mar 30, 2014 at 8:58 AM, Andi Kleen wrote: > >> Maybe in future, after ktap support "include" or "require" to > >> import user defined library in userspace. > > > > Can't you just have some hardcoded standard script for now t

Re: [PATCH 15/28] ktap: add built-in functions and library (runtime/lib_*.c)

2014-03-30 Thread Jovi Zhangwei
On Sun, Mar 30, 2014 at 8:58 AM, Andi Kleen wrote: >> Maybe in future, after ktap support "include" or "require" to >> import user defined library in userspace. > > Can't you just have some hardcoded standard script for now that is > always appeneded and provides these functions? > Maybe it's fine

Re: [PATCH 15/28] ktap: add built-in functions and library (runtime/lib_*.c)

2014-03-29 Thread Andi Kleen
> Maybe in future, after ktap support "include" or "require" to > import user defined library in userspace. Can't you just have some hardcoded standard script for now that is always appeneded and provides these functions? -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-k

Re: [PATCH 15/28] ktap: add built-in functions and library (runtime/lib_*.c)

2014-03-28 Thread Jovi Zhangwei
On Sat, Mar 29, 2014 at 2:51 AM, Andi Kleen wrote: > Jovi Zhangwei writes: >> >> 2). Ansi library(lib_ansi.c): >> ansi.clear_screen >> ansi.set_color >> ansi.set_color2 >> ansi.set_color3 >> ansi.reset_color >> ansi.new_line > > This really can't be done in some kind of ktap library? > Maybe in f

Re: [PATCH 15/28] ktap: add built-in functions and library (runtime/lib_*.c)

2014-03-28 Thread Andi Kleen
Jovi Zhangwei writes: > > 2). Ansi library(lib_ansi.c): > ansi.clear_screen > ansi.set_color > ansi.set_color2 > ansi.set_color3 > ansi.reset_color > ansi.new_line This really can't be done in some kind of ktap library? -Andi -- a...@linux.intel.com -- Speaking for myself only -- To unsubscrib