Function report |
Source Code:kernel\trace\trace_output.c |
Create Date:2022-07-28 12:04:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:race_print_hex_seq - print buffer as hex sequence*@p: trace seq struct to write to*@buf: The buffer to print*@buf_len: Length of @buf in bytes*@concatenate: Print @buf as single hex string or with spacing* Prints the passed buffer as a hex sequence either
Proto:const char *trace_print_hex_seq(struct trace_seq *p, const unsigned char *buf, int buf_len, bool concatenate)
Type:char
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct trace_seq * | p | |
| const unsigned char * | buf | |
| int | buf_len | |
| bool | concatenate |
| 221 | ret = race_seq_buffer_ptr - return pointer to next location in buffer*@s: trace sequence descriptor* Returns the pointer to the buffer where the next write to* the buffer will happen |
| 222 | fmt = If concatenate Then "%*phN" Else "%*ph" |
| 226 | trace_seq_putc(p, 0) |
| 228 | Return ret |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |