lkml.org 
[lkml]   [2009]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: kvmmmu tracing
From
Date
On Tue, 2009-11-24 at 12:34 +0200, Avi Kivity wrote:

> Um, C can be easily parsed with a C compiler. I don't think you can
> expect it to be a plain format string and argument list.

Actually, it turns out that it cannot be parsed even with a C compiler:

({ const char *ret = p->buffer + p->len; static const char *access_str[]
= { "---", "--x", "w--", "w-x", "-u-", "-ux", "wu-", "wux" }; union
kvm_mmu_page_role role;

...

userspace cannot possibly know from this what "union kvm_mmu_page_role"
is.

johannes
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2009-11-24 15:11    [W:0.061 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site