From: Steven Rostedt (Red Hat) Date: Tue, 5 Mar 2013 19:35:11 +0000 (-0500) Subject: tracing: Add snapshot in the per_cpu trace directories X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~134^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1affcaaa861f27752a769f889bf1486ebd301fe;p=pandora-kernel.git tracing: Add snapshot in the per_cpu trace directories Add the snapshot file into the per_cpu tracing directories to allow them to be read for an individual cpu. This also allows to clear an individual cpu from the snapshot buffer. If the kernel allows it (CONFIG_RING_BUFFER_ALLOW_SWAP is set), then echoing in '1' into one of the per_cpu snapshot files will do an individual cpu buffer swap instead of the entire file. Cc: Hiraku Toyooka Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed