Changes between Version 1 and Version 2 of Tracing
- Timestamp:
- 2009-05-01T12:47:57Z (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tracing
v1 v2 1 = = Using the Syscall/IPC Tracer ==1 = Using the Syscall/IPC Tracer = 2 2 3 3 The tracer application (/app/trace) is meant to give you a rough idea about what your application is doing by printing the system calls it is making. However, since HelenOS is a microkernel system, the system calls are not all that interesting, since they are mostly just IPC calls. For this reason, the tracer tries to analyze communication on higher layers to a certain extent, i.e. the IPC communication and (in a very primitive way) the application protocols. 4 4 5 == = Command-line parameters ===5 == Command-line parameters == 6 6 7 7 To execute a program and trace it, type … … 28 28 }}} 29 29 30 == = Keyboard controls ===30 == Keyboard controls == 31 31 32 32 Press 'Q' anytime to quit the tracing application. 33 33 34 == = Understanding the output ===34 == Understanding the output == 35 35 36 36 A typical application-protocol message has the form: … … 46 46 Here ''phone_id'' is the ID of the phone on which the request is being made. The ''protocol'' field is the name of the protocol that the tracer believes is being used on that phone. (This is normally detected by spying on the communication with the naming service.) The ''method'' is a textual representation of the IPC method number (for that protocol). The period (`.`) at the end of the line denotes that the request returns no value (and thus the response will not be displayed). 47 47 48 == = Notes ===48 == Notes == 49 49 50 50 * Decoding tables for application protocols are currently very incomplete. Unrecognized calls are not printed at all at the ''protocol'' level, you must display IPC-level messages (`+i`) to see them!