summaryrefslogtreecommitdiffstats
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorJiri Olsa2012-08-07 15:20:39 +0200
committerArnaldo Carvalho de Melo2012-08-10 17:16:22 +0200
commit5685e0ff45f5df67e79e9b052b6ffd501ff38c11 (patch)
treeead6bd92a49b42ec0ca5bfee467e03e37656a6f1 /arch/Kconfig
parentperf: Factor __output_copy to be usable with specific copy function (diff)
downloadkernel-qcow2-linux-5685e0ff45f5df67e79e9b052b6ffd501ff38c11.tar.gz
kernel-qcow2-linux-5685e0ff45f5df67e79e9b052b6ffd501ff38c11.tar.xz
kernel-qcow2-linux-5685e0ff45f5df67e79e9b052b6ffd501ff38c11.zip
perf: Add perf_output_skip function to skip bytes in sample
Introducing perf_output_skip function to be able to skip data within the perf ring buffer. When writing data into perf ring buffer we first reserve needed place in ring buffer and then copy the actual data. There's a possibility we won't be able to fill all the reserved size with data, so we need a way to skip the remaining bytes. This is going to be useful when storing the user stack dump, where we might end up with less data than we originally requested. Signed-off-by: Jiri Olsa <jolsa@redhat.com> Acked-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: "Frank Ch. Eigler" <fche@redhat.com> Cc: Arun Sharma <asharma@fb.com> Cc: Benjamin Redelings <benjamin.redelings@nescent.org> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: Cyrill Gorcunov <gorcunov@openvz.org> Cc: Frank Ch. Eigler <fche@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Robert Richter <robert.richter@amd.com> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> Cc: Ulrich Drepper <drepper@gmail.com> Link: http://lkml.kernel.org/r/1344345647-11536-5-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'arch/Kconfig')
0 files changed, 0 insertions, 0 deletions