diff options
| author | Peter Zijlstra <peterz@infradead.org> | 2019-03-14 15:01:14 +0300 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2019-04-03 10:25:31 +0300 |
| commit | c090cb70c6152fc97ce91242789d7c322109f1a1 (patch) | |
| tree | aa422c4c19f89076a054d65b5c3087a764805066 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 1f6a1e2d7d7135280125418b25d35aebd6fa0952 (diff) | |
| download | linux-c090cb70c6152fc97ce91242789d7c322109f1a1.tar.xz | |
perf/x86/intel: Optimize intel_get_excl_constraints()
Avoid the POPCNT by noting we can decrement the weight for each
cleared bit.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Stephane Eranian <eranian@google.com>
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: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
