Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
n_tracesink.h File Reference

Go to the source code of this file.

Functions

void n_tracesink_datadrain (u8 *buf, int count)
 

Function Documentation

void n_tracesink_datadrain ( u8 buf,
int  count 
)

n_tracesink_datadrain() - Kernel API function used to route trace debugging data to user-defined port like USB.

: Trace debuging data buffer to write to tty target port. Null value will return with no write occurring. : Size of buf. Value of 0 or a negative number will return with no write occuring.

Caveat: If this line discipline does not set the tty it sits on top of via an open() call, this API function will not call the tty's write() call because it will have no pointer to call the write().

Definition at line 171 of file n_tracesink.c.