utils/pb-event: handle event data on command line
authorJeremy Kerr <jk@ozlabs.org>
Mon, 6 May 2013 02:15:36 +0000 (10:15 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 9 May 2013 00:47:54 +0000 (08:47 +0800)
commitdb2614df92387aa5e4bcd8c7a488cf531882542f
treefd1d59c6b32570b27c2f197466298871932e5f02
parent263e31240d97484619f55630f625257dc874c5d0
utils/pb-event: handle event data on command line

It'd be nice to avoid using printf just for the \0 characters, so allow
parsing events from the command line.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
utils/pb-event.c