This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Customization of LKET


Li Guanglei <guanglei@cn.ibm.com> writes:

> [...]
> I though of another way of allowing the user add arbitrary extra trace
> data using just printf. [...]
>      register_user_event(GROUP_NETDEV, HOOKID_NETDEV_RECEIVE,
> 	"STRING:INT8:INT16", "sample string:sample id1:sample id2")
> [...]

Yes, this could work, though the script author will have to make the
register declarative call match his later actual usage.

It is worth realizing though that this is just the kind of metadata
that the "compiled" binary tracing we proposed could provide
automatically.

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]