Bug 1598 - include tracing system for kernel code
include tracing system for kernel code
Status: PATCH WANTED
Product: dce
Classification: Unclassified
Component: kernel
unspecified
PC Linux
: P2 enhancement
Assigned To: Hajime Tazaki
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-25 22:19 EST by Siddharth Gangadhar
Modified: 2013-07-17 21:24 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Siddharth Gangadhar 2013-02-25 22:19:05 EST
As part of future enhancement for the DCE environment, include trace handlers in the kernel to allow for tracing out needed events such as real world transport protocol send and receive events when using kernel mode.
Comment 1 Hajime Tazaki 2013-07-17 21:23:42 EDT
integrated an early version of libasepct:

 ns-3-dce: changeset 28d41b522bcd

Though the feature is limited, it can only count the number of called callbacked of arbitrary function, it works fine.

temporary document is:

http://www.nsnam.org/~thehajime/ns-3-dce-next-doc/doc/build/html/dce-user-aspect-trace.html

A simple example is available with dce-debug-aspect.cc:

http://code.nsnam.org/ns-3-dce/file/28d41b522bcd/example/dce-debug-aspect.cc

you can try it with dce-linux-dev module (of bake).
I plan to include this in coming dce-1.1 release.


Since this won't provide all the features of trace for unmodified code (i.e., Linux kernel), I will keep opening this bug (as PATCH WANTED).