stable: please queue commit 0231bb5 ("perf: Fix event group context move")
Plese consider adding commit 0231bb5336758426b44ccd798ccd3c5419c95d58 to stable tree. It fixes a real bug, which was explained here:
http://thread.gmane.org/gmane.linux.kernel.perf.user/1144
and I've managed to reproduce the bug in 3.4 kernel with the test program attached in the above email, and I've confirmed the bug fix.
The effect of the bug is, if we open a group of mixed events(sw/hw) and the "disabled" flag is not set and sw events come first, then some of the perf events won't be started after the call to perf_event_open().
The bug fix should be applicable to kernels >= 3.0 && <= 3.7.
--
Li Zefan
Ingo Molnar
Acked-byQuoted 5 lines · Li Zefan
Plese consider adding commit
0231bb5336758426b44ccd798ccd3c5419c95d58to stable tree. It fixes a real bug, which was explained here:http://thread.gmane.org/gmane.linux.kernel.perf.user/1144
Quoted 8 lines
and I've managed to reproduce the bug in 3.4 kernel with the test program attached in the above email, and I've confirmed the bug fix.
The effect of the bug is, if we open a group of mixed events(sw/hw) and the "disabled" flag is not set and sw events come first, then some of the perf events won't be started after the call to
perf_event_open().The bug fix should be applicable to kernels >= 3.0 && <= 3.7.
Thanks,
Ingo
Ben Hutchings
AppliedQuoted 10 lines · Ingo Molnar
Quoted 8 lines · Li Zefan
Plese consider adding commit
0231bb5336758426b44ccd798ccd3c5419c95d58to stable tree. It fixes a real bug, which was explained here:http://thread.gmane.org/gmane.linux.kernel.perf.user/1144and I've managed to reproduce the bug in 3.4 kernel with the test program attached in the above email, and I've confirmed the bug fix.
Quoted 7 lines
Quoted 5 lines
The effect of the bug is, if we open a group of mixed events(sw/hw) and the "disabled" flag is not set and sw events come first, then some of the perf events won't be started after the call to
perf_event_open().The bug fix should be applicable to kernels >= 3.0 && <= 3.7.
Acked-by Ingo Molnar <[email protected]>
Queued up for 3.2, thanks.
Ben.
Signature · 3 lines
Ben Hutchings If God had intended Man to program, we'd have been born with serial I/O ports.
Quoted 12 lines · Li Zefan
Plese consider adding commit
0231bb5336758426b44ccd798ccd3c5419c95d58to stable tree. It fixes a real bug, which was explained here:http://thread.gmane.org/gmane.linux.kernel.perf.user/1144and I've managed to reproduce the bug in 3.4 kernel with the test program attached in the above email, and I've confirmed the bug fix.
The effect of the bug is, if we open a group of mixed events(sw/hw) and the "disabled" flag is not set and sw events come first, then some of the perf events won't be started after the call to
perf_event_open().
Quoted 8 lines
The bug fix should be applicable to kernels >= 3.0 && <= 3.7.
--
Li Zefan
--
To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks, I'm queuing it for the 3.5 kernel.
Cheers,
Signature · 1 line
Luis