diff options
author | Ingo Molnar <mingo@kernel.org> | 2013-09-12 07:43:51 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-09-12 07:43:51 +0200 |
commit | e6d381834d8384b3da570e05b1518db4e2b3d92b (patch) | |
tree | 01bc578c19e4969d554f401fe084ccf7c9fd50d4 /tools/virtio | |
parent | 72f4a11d2fb16792f5e5107922652366194cfd66 (diff) | |
parent | d008d5258e9c1a1b7ee6547b8d444323aef331b3 (diff) | |
download | kernel_goldelico_gta04-e6d381834d8384b3da570e05b1518db4e2b3d92b.zip kernel_goldelico_gta04-e6d381834d8384b3da570e05b1518db4e2b3d92b.tar.gz kernel_goldelico_gta04-e6d381834d8384b3da570e05b1518db4e2b3d92b.tar.bz2 |
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:
* Handle perf.data files with no tracepoints in 'perf trace', fixing a
segfault.
* Fix up MMAP2 buffer space reservation, a problem that was caught via
'perf test' consistency tests.
* Add attr->mmap2 support in the tools, a patch that should've been merged
together with the kernel counterpart:
13d7a24 "perf: Add attr->mmap2 attribute to an event".
Merging it allowed us to catch the MMAP buffer space reservation problem via
'perf test'. From Stephane Eranian.
The tools deals with older kernels by disabling this feature, resetting the
perf_event_attr.mmap2 bit, when -EINVAL is returned by perf_event_open, just
like with perf_event_attr.{sample_id_all,exclude_{guest,host}}.
When such fallback happens the perf_missing_features.mmap2 flag is set to
true and can be used by tooling that strictly needs this feature to check
for its availability on the running kernel.
* Make sure we can find PERF_SAMPLE_ID in the variable part of PERF_RECORD_
ring buffer records in 'perf kvm', where direct manipulation of sample_type
was being done.
Fixed by making use of the perf_evlist__set_sample_bit() helper and by
setting the evlist->id_pos in perf_evlist__open(), from Adrian Hunter.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/virtio')
0 files changed, 0 insertions, 0 deletions