tracedump: Dump ftrace ring buffer data
authorAlon Farchy <afarchy@nvidia.com>
Mon, 12 Dec 2011 17:21:59 +0000 (11:21 -0600)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 22 Dec 2011 05:59:19 +0000 (10:59 +0530)
commite744c3588e7a09c8ec80e28efffd6f08c1c2b2b8
tree648528218c7374503729cba660fa7950f6d3b5d0
parentc6fe29a6337d4c0be9872e0c97ef66d49cbf2520
tracedump: Dump ftrace ring buffer data

Add a new module that will dump the contents of the ftrace ring buffer.
Data is compressed and can be in ascii or binary form. Data will
automatically dump on kernel panic to console. Data can be dumped by
reading /proc/tracedump. See tracedump.h for details.

Change-Id: I7b7afc3def0b88629dd120d17e43858306a8f357
Signed-off-by: Liang Cheng <licheng@nvidia.com>
Reviewed-on: http://git-master/r/69494
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Documentation/trace/tracedump.txt [new file with mode: 0644]
include/linux/tracedump.h [new file with mode: 0644]
kernel/trace/Kconfig
kernel/trace/Makefile
kernel/trace/tracedump.c [new file with mode: 0644]