search for: dtrace_subr

Displaying 1 result from an estimated 1 matches for "dtrace_subr".

2007 Apr 12
1
writing a new trap handler
Hi, I looked at the pid provider''s trap handler code (usr/src/uts/sun4u/ml/trap_table.s and usr/src/uts/sun4/os/dtrace_subr.c), and try to understand how it works. Can someone point me some directions about trap handlers? I am interesed in writing a new one (like dtrace does it in pid provider with the 0x38 trap id). At first, I would be pleased if I could write a trap handler which just enters kernel mode, does nothing...