]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
Revert "perf/core: Drop kernel samples even though :u is specified"
authorIngo Molnar <mingo@kernel.org>
Tue, 11 Jul 2017 08:56:54 +0000 (10:56 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 11 Jul 2017 08:56:54 +0000 (10:56 +0200)
commit6a8a75f3235724c5941a33e287b2f98966ad14c5
tree92147e81256d2aa503067ee4d86bff8fb40a681f
parent1922eec4b5e2d8d6e92f87592b88477a2dbdcf16
Revert "perf/core: Drop kernel samples even though :u is specified"

This reverts commit cc1582c231ea041fbc68861dfaf957eaf902b829.

This commit introduced a regression that broke rr-project, which uses sampling
events to receive a signal on overflow (but does not care about the contents
of the sample). These signals are critical to the correct operation of rr.

There's been some back and forth about how to fix it - but to not keep
applications in limbo queue up a revert.

Reported-by: Kyle Huey <me@kylehuey.com>
Acked-by: Kyle Huey <me@kylehuey.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: <stable@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170628105600.GC5981@leverpostej
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c