Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1690217
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: perf: bisected sampling bug in Linux 4.11-rc1 |
| Date | 2017-07-18 14:20 +0200 |
| Message-ID | <u4zDR-2ih-19@gated-at.bofh.it> (permalink) |
| References | <u3dcm-75z-29@gated-at.bofh.it> <u4yHM-1HH-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* Alexander Shishkin <alexander.shishkin@linux.intel.com> wrote: > Vince Weaver <vincent.weaver@maine.edu> writes: > > > I was tracking down some regressions in my perf_event_test testsuite. > > Some of the tests broke in the 4.11-rc1 timeframe. > > > > I've bisected one of them, this report is about > > tests/overflow/simul_oneshot_group_overflow > > This test creates an event group containing two sampling events, set > > to overflow to a signal handler (which disables and then refreshes the > > event). > > > > On a good kernel you get the following: > > Event perf::instructions with period 1000000 > > Event perf::instructions with period 2000000 > > fd 3 overflows: 946 (perf::instructions/1000000) > > fd 4 overflows: 473 (perf::instructions/2000000) > > Ending counts: > > Count 0: 946379875 > > Count 1: 946365218 > > > > With the broken kernels you get: > > Event perf::instructions with period 1000000 > > Event perf::instructions with period 2000000 > > fd 3 overflows: 938 (perf::instructions/1000000) > > fd 4 overflows: 318 (perf::instructions/2000000) > > Ending counts: > > Count 0: 946373080 > > Count 1: 653373058 > > > > > > 487f05e18aa4efacee6357480f293a5afe6593b5 is the first bad commit > > > > commit 487f05e18aa4efacee6357480f293a5afe6593b5 > > Author: Alexander Shishkin <alexander.shishkin@linux.intel.com> > > Date: Thu Jan 19 18:43:30 2017 +0200 > > Ok, there was a bug there indeed. This patch should take care of it and > should also be backportable in case it's stable-worthy. > > From 187d67c9908cb126656c34546772089c17a8e6c5 Mon Sep 17 00:00:00 2001 > From: Alexander Shishkin <alexander.shishkin@linux.intel.com> > Date: Tue, 18 Jul 2017 13:53:01 +0300 > Subject: [PATCH] perf: Fix scheduling regression of pinned groups Ok, great - if this works then I'll pick up this fix instead of the revert that I've queued up earlier today. Thanks, Ingo
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
perf: bisected sampling bug in Linux 4.11-rc1 Vince Weaver <vincent.weaver@maine.edu> - 2017-07-14 20:10 +0200
Re: perf: bisected sampling bug in Linux 4.11-rc1 Vince Weaver <vincent.weaver@maine.edu> - 2017-07-14 20:30 +0200
Re: perf: bisected sampling bug in Linux 4.11-rc1 Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2017-07-14 22:10 +0200
Re: perf: bisected sampling bug in Linux 4.11-rc1 Vince Weaver <vincent.weaver@maine.edu> - 2017-07-14 22:20 +0200
Re: perf: bisected sampling bug in Linux 4.11-rc1 Ingo Molnar <mingo@kernel.org> - 2017-07-15 13:10 +0200
Re: perf: bisected sampling bug in Linux 4.11-rc1 Vince Weaver <vincent.weaver@maine.edu> - 2017-07-15 16:40 +0200
Re: perf: bisected sampling bug in Linux 4.11-rc1 Vince Weaver <vincent.weaver@maine.edu> - 2017-07-16 05:10 +0200
[tip:perf/urgent] Revert "perf/core: Optimize event rescheduling on active contexts" tip-bot for Ingo Molnar <tipbot@zytor.com> - 2017-07-18 12:50 +0200
Re: perf: bisected sampling bug in Linux 4.11-rc1 Alexander Shishkin <alexander.shishkin@linux.intel.com> - 2017-07-18 13:20 +0200
Re: perf: bisected sampling bug in Linux 4.11-rc1 Ingo Molnar <mingo@kernel.org> - 2017-07-18 14:20 +0200
Re: perf: bisected sampling bug in Linux 4.11-rc1 Vince Weaver <vincent.weaver@maine.edu> - 2017-07-20 05:40 +0200
[tip:perf/urgent] perf/core: Fix scheduling regression of pinned groups tip-bot for Alexander Shishkin <tipbot@zytor.com> - 2017-07-20 10:50 +0200
csiph-web