On Mon, Mar 31, 2014 at 1:17 AM, Andi Kleen wrote:
>> That's designed for portability initially, it means we can just run bytecode
>> without compile script file everywhere, especially when compilation is
>> a heavily task for some embedded platform, even though ktap compilation
>> is extremely
> That's designed for portability initially, it means we can just run bytecode
> without compile script file everywhere, especially when compilation is
> a heavily task for some embedded platform, even though ktap compilation
> is extremely fast.
>
> I doubt maybe there will have this bytecode
On Sun, Mar 30, 2014 at 10:47 AM, Andi Kleen wrote:
>> +/* Read debug info of a prototype. */
>> +static void bcread_dbg(BCReadCtx *ctx, ktap_proto_t *pt, int sizedbg)
>> +{
>> + void *lineinfo = (void *)proto_lineinfo(pt);
>> +
>> + bcread_block(ctx, lineinfo, sizedbg);
>> + /* Swap
On Sun, Mar 30, 2014 at 10:47 AM, Andi Kleen a...@firstfloor.org wrote:
+/* Read debug info of a prototype. */
+static void bcread_dbg(BCReadCtx *ctx, ktap_proto_t *pt, int sizedbg)
+{
+ void *lineinfo = (void *)proto_lineinfo(pt);
+
+ bcread_block(ctx, lineinfo, sizedbg);
+ /*
That's designed for portability initially, it means we can just run bytecode
without compile script file everywhere, especially when compilation is
a heavily task for some embedded platform, even though ktap compilation
is extremely fast.
I doubt maybe there will have this bytecode
On Mon, Mar 31, 2014 at 1:17 AM, Andi Kleen a...@firstfloor.org wrote:
That's designed for portability initially, it means we can just run bytecode
without compile script file everywhere, especially when compilation is
a heavily task for some embedded platform, even though ktap compilation
is
> +/* Read debug info of a prototype. */
> +static void bcread_dbg(BCReadCtx *ctx, ktap_proto_t *pt, int sizedbg)
> +{
> + void *lineinfo = (void *)proto_lineinfo(pt);
> +
> + bcread_block(ctx, lineinfo, sizedbg);
> + /* Swap lineinfo if the endianess differs. */
Why does this care
Exposed function:
ktap_proto_t *kp_bcread(ktap_state_t *ks, unsigned char *buff, int len)
Function kp_bcread read bytecode from buff, and return
ktap top-level function prototype.
Signed-off-by: Jovi Zhangwei
---
kernel/trace/ktap/kp_bcread.c | 429 ++
Exposed function:
ktap_proto_t *kp_bcread(ktap_state_t *ks, unsigned char *buff, int len)
Function kp_bcread read bytecode from buff, and return
ktap top-level function prototype.
Signed-off-by: Jovi Zhangwei jovi.zhang...@gmail.com
---
kernel/trace/ktap/kp_bcread.c | 429
+/* Read debug info of a prototype. */
+static void bcread_dbg(BCReadCtx *ctx, ktap_proto_t *pt, int sizedbg)
+{
+ void *lineinfo = (void *)proto_lineinfo(pt);
+
+ bcread_block(ctx, lineinfo, sizedbg);
+ /* Swap lineinfo if the endianess differs. */
Why does this care about
10 matches
Mail list logo