| .. | .. |
|---|
| 12 | 12 | */ |
|---|
| 13 | 13 | |
|---|
| 14 | 14 | struct trace_seq { |
|---|
| 15 | | - unsigned char buffer[PAGE_SIZE]; |
|---|
| 15 | + char buffer[PAGE_SIZE]; |
|---|
| 16 | 16 | struct seq_buf seq; |
|---|
| 17 | 17 | int full; |
|---|
| 18 | 18 | }; |
|---|
| .. | .. |
|---|
| 51 | 51 | * that is about to be written to and then return the result |
|---|
| 52 | 52 | * of that write. |
|---|
| 53 | 53 | */ |
|---|
| 54 | | -static inline unsigned char * |
|---|
| 54 | +static inline char * |
|---|
| 55 | 55 | trace_seq_buffer_ptr(struct trace_seq *s) |
|---|
| 56 | 56 | { |
|---|
| 57 | 57 | return s->buffer + seq_buf_used(&s->seq); |
|---|
| .. | .. |
|---|
| 92 | 92 | extern void trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp, |
|---|
| 93 | 93 | int nmaskbits); |
|---|
| 94 | 94 | |
|---|
| 95 | +extern int trace_seq_hex_dump(struct trace_seq *s, const char *prefix_str, |
|---|
| 96 | + int prefix_type, int rowsize, int groupsize, |
|---|
| 97 | + const void *buf, size_t len, bool ascii); |
|---|
| 98 | + |
|---|
| 95 | 99 | #else /* CONFIG_TRACING */ |
|---|
| 96 | 100 | static inline void trace_seq_printf(struct trace_seq *s, const char *fmt, ...) |
|---|
| 97 | 101 | { |
|---|