Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.development.system > #603
| Newsgroups | comp.os.linux.development.system |
|---|---|
| Date | 2014-03-31 02:41 -0700 |
| Message-ID | <3e7a625a-ee9c-4edc-b4a2-b879d3fc2bdc@googlegroups.com> (permalink) |
| Subject | could someone guide me regarding ftrace for kernel debugging? |
| From | Hemanth Venkatappa <hemanthvenkatappa@gmail.com> |
Client and server - Client is sending data to the server via socket and server (embedded pc target with real time linux) is receives the data. When the server receives data via the socket, the interrupt takes place in kernel and kernel stops what it is doing and starts executing the newly arrived data from the socket. I want to measure the time at which the interrupt occured and later I want to store it in a file (or it could be somwhere). But, finally I want to send the time value back to the client. Could someone guide me in this ? example : If I am running a small program and it is printing linux then how to trace w.r.t ftrace ?? I know about ftrace i.e. tracing_on I dont know about trace_marker i.e writing to trace buffer. If i want to write the timestamp to buffer then what should i do ?? how to debug a user program using ftrace ??
Back to comp.os.linux.development.system | Previous | Next | Find similar
could someone guide me regarding ftrace for kernel debugging? Hemanth Venkatappa <hemanthvenkatappa@gmail.com> - 2014-03-31 02:41 -0700
csiph-web