summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorStefan Raspl2017-12-11 12:25:21 +0100
committerPaolo Bonzini2017-12-14 09:25:42 +0100
commit67c162b0892ac481e47bef06d9c6231ee993843a (patch)
tree8e4a6a99382dd223615dcb340de3d2b840f30996 /init
parenttools/kvm_stat: fix drilldown in events-by-guests mode (diff)
downloadkernel-qcow2-linux-67c162b0892ac481e47bef06d9c6231ee993843a.tar.gz
kernel-qcow2-linux-67c162b0892ac481e47bef06d9c6231ee993843a.tar.xz
kernel-qcow2-linux-67c162b0892ac481e47bef06d9c6231ee993843a.zip
tools/kvm_stat: fix missing field update after filter change
When updating the fields filter, tracepoint events of fields previously not visible were not enabled, as TracepointProvider.update_fields() updated the member variable directly instead of using the setter, which triggers the event enable/disable. To reproduce, run 'kvm_stat -f kvm_exit', press 'c' to remove the filter, and notice that no add'l fields that do not match the regex 'kvm_exit' will appear. This issue was introduced by commit c469117df059 ("tools/kvm_stat: simplify initializers"). Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions