Unix Technical Forum

Adding another facility to ktrace - for syscall arguments

This is a discussion on Adding another facility to ktrace - for syscall arguments within the mailing.openbsd.tech forums, part of the OpenBSD category; --> Hello, It's somewhat bothersome that ktrace doesn't dump the actual values for the structures that were passed in as ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:34 AM
Pawel Veselov
 
Posts: n/a
Default Adding another facility to ktrace - for syscall arguments

Hello,

It's somewhat bothersome that ktrace doesn't dump the actual values for the
structures that were passed in as the arguments to a syscall. All you see are
addresses, and may be you can see some translated to names, but that's about
it. It would be nice if one can see inside the actual structures, which would be
operation specific.

Would it be reasonable to add another facility, define the structures for
ktr_header.ktr_buf, to be able to accommodate arbitrary structures and the
definitions of such, and then start instrumenting the syscalls, where feasible,
to dump their arguments into trace stream ?

So, why is this a stupid idea ?

Thanks,
Pawel.

(posting this to misc@ had no replies...)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:03 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com