Re: [PATCH 1/2 v4] scsi: add __print_hex() to ftrace

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Li Zefan
Date: Thursday, April 1, 2010 - 7:40 pm

>> +const char *

This is exactly what ftrace_print_flags_seq() and ftrace_print_symbols_seq()
do, and exactly what we want.

An example:

TP_printk("%s,%s", __print_flags(...), __print_flags(...));

We need 2 seperated strings, while trace_seq_terminate() will make it
a single string.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2 v4] scsi: ftrace based scsi tracer, Kei Tokunaga, (Thu Apr 1, 4:37 am)
[PATCH 1/2 v4] scsi: add __print_hex() to ftrace, Kei Tokunaga, (Thu Apr 1, 4:40 am)
Re: [PATCH 1/2 v4] scsi: add __print_hex() to ftrace, Steven Rostedt, (Thu Apr 1, 6:57 am)
Re: [PATCH 1/2 v4] scsi: add __print_hex() to ftrace, Joe Perches, (Thu Apr 1, 10:03 am)
Re: [PATCH 1/2 v4] scsi: add __print_hex() to ftrace, Li Zefan, (Thu Apr 1, 7:40 pm)