summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/builtin-test.c
diff options
context:
space:
mode:
authorIngo Molnar2013-09-06 14:08:08 +0200
committerIngo Molnar2013-09-06 14:08:08 +0200
commit72f4a11d2fb16792f5e5107922652366194cfd66 (patch)
tree44429da06dafd36090000092e02be2e9cc0b4f44 /tools/perf/tests/builtin-test.c
parentMerge branch 'x86-spinlocks-for-linus' of git://git.kernel.org/pub/scm/linux/... (diff)
parentperf session: Separate progress bar update when processing events (diff)
downloadkernel-qcow2-linux-72f4a11d2fb16792f5e5107922652366194cfd66.tar.gz
kernel-qcow2-linux-72f4a11d2fb16792f5e5107922652366194cfd66.tar.xz
kernel-qcow2-linux-72f4a11d2fb16792f5e5107922652366194cfd66.zip
Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull perf/urgent fixes from Arnaldo Carvalho de Melo: * Fix parsing with no sample_id_all bit set, this regression prevents perf from reading old perf.data files generated in systems where perf_event_attr.sample_id_all isn't available, from Adrian Hunter. * Add signal checking to the inner 'perf trace' event processing loop, allowing faster response to control+C. * Fix formatting of long symbol names removing the hardcoding of a buffer size used to format histogram entries, which was truncating the lines. * Separate progress bar update when processing events, reducing potentially big overhead in not needed TUI progress bar screen updates, from Jiri Olsa. * Fix 'perf trace' build in architectures where MAP_32BIT is not defined, from Kyle McMartin. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/tests/builtin-test.c')
-rw-r--r--tools/perf/tests/builtin-test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c
index 8bbeba322df9..1e67437fb4ca 100644
--- a/tools/perf/tests/builtin-test.c
+++ b/tools/perf/tests/builtin-test.c
@@ -112,6 +112,10 @@ static struct test {
.func = test__keep_tracking,
},
{
+ .desc = "Test parsing with no sample_id_all bit set",
+ .func = test__parse_no_sample_id_all,
+ },
+ {
.func = NULL,
},
};