diff options
author | Peter Zijlstra <peterz@infradead.org> | 2019-03-14 13:25:02 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-04-03 09:25:33 +0200 |
commit | f80deefa41890f9484802d7b67f11daf28055150 (patch) | |
tree | 9ec0bdc7151388d2c479b257ca6d41c9264e1c8f /kernel/events/core.c | |
parent | 109717de57b95d6dd9582c18a74f154d69fea536 (diff) | |
download | lwn-f80deefa41890f9484802d7b67f11daf28055150.tar.gz lwn-f80deefa41890f9484802d7b67f11daf28055150.zip |
perf/x86: Add sanity checks to x86_schedule_events()
By computing the 'committed' index earlier, we can use it to validate
the cached constraint state.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/events/core.c')
0 files changed, 0 insertions, 0 deletions