Steven Rostedt (Red Hat)
6d2289f3fa
tracing: Make trace_seq_putmem_hex() more robust
...
Currently trace_seq_putmem_hex() can only take as a parameter a pointer
to something that is 8 bytes or less, otherwise it will overflow the
buffer. This is protected by a macro that encompasses the call to
trace_seq_putmem_hex() that has a BUILD_BUG_ON() for the variable before
it is passed in. This is not very robust and if trace_seq_putmem_hex() ever
gets used outside that macro it will cause issues.
Instead of only being able to produce a hex output of memory that is for
a single word, change it to be more robust and allow any size input.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org >
2014-07-01 07:13:37 -04:00
..
2014-06-04 16:54:17 -07:00
2014-06-14 14:10:08 +02:00
2014-06-10 15:34:46 -07:00
2014-05-27 10:16:44 +02:00
2014-06-21 07:06:02 -10:00
2014-06-16 23:30:44 +02:00
2014-06-04 16:54:17 -07:00
2014-06-03 12:57:53 -07:00
2014-06-12 19:42:15 -07:00
2014-06-04 16:55:13 -07:00
2014-07-01 07:13:37 -04:00
2014-06-06 16:08:14 -07:00
2014-06-12 14:27:40 -07:00
2014-04-12 12:38:53 -07:00
2014-06-10 08:44:40 -07:00
2014-06-04 16:54:14 -07:00
2014-06-10 13:57:22 -07:00
2014-05-16 13:22:48 -04:00
2014-06-09 15:03:33 -07:00
2014-06-04 16:54:19 -07:00
2014-06-14 09:07:44 +02:00
2014-06-12 13:14:19 -07:00
2014-06-09 15:03:33 -07:00
2014-06-04 16:54:15 -07:00
2014-06-06 16:08:11 -07:00
2014-06-21 00:15:12 -04:00
2014-06-08 11:31:16 -07:00
2014-04-03 16:21:05 -07:00
2014-06-06 07:55:06 +02:00
2014-06-04 16:54:15 -07:00
2014-04-07 16:36:11 -07:00
2014-06-06 07:58:28 +02:00
2014-06-23 16:47:43 -07:00
2014-06-06 16:08:12 -07:00
2014-04-24 10:26:41 +02:00
2014-04-25 12:00:49 -07:00
2014-06-04 16:53:51 -07:00
2014-06-04 16:54:15 -07:00
2014-06-11 16:09:14 -07:00
2014-04-24 10:26:39 +02:00
2014-06-06 16:08:12 -07:00
2014-04-28 11:48:34 +09:30
2014-04-02 16:20:21 -07:00
2014-06-06 16:08:13 -07:00
2014-06-04 16:54:15 -07:00
2014-04-12 14:49:50 -07:00
2014-06-04 16:54:15 -07:00
2014-05-23 10:47:21 -06:00
2014-06-12 14:27:40 -07:00
2014-06-06 16:08:12 -07:00
2014-06-23 16:47:43 -07:00
2014-05-22 11:36:10 +02:00
2014-06-04 16:54:15 -07:00
2014-06-04 16:54:14 -07:00
2014-05-22 11:16:36 +02:00
2014-06-23 16:47:44 -07:00
2014-04-30 13:46:17 +02:00
2014-05-14 09:46:30 -07:00
2014-06-21 00:15:26 -04:00
2014-06-06 16:08:13 -07:00
2014-06-04 16:54:16 -07:00
2014-06-06 16:08:16 -07:00
2014-06-23 16:47:44 -07:00
2014-05-20 10:59:32 -04:00
2014-06-09 14:56:49 -07:00