commit | 6b19788ddc5937831ffd27525a1b793953fd2d2b | [log] [tgz] |
---|---|---|
author | Peter Zijlstra (Intel) <peterz@infradead.org> | Tue Jan 04 08:51:17 2022 -0800 |
committer | Peter Zijlstra <peterz@infradead.org> | Tue Jan 18 12:09:49 2022 +0100 |
tree | d26d7fd80203afdddcf1e527a0b170b773268aba | |
parent | 1ac7fd8159a842b3aa51f0b46a351fa3eeb8fbf3 [diff] |
perf/x86/intel/lbr: Add static_branch for LBR INFO flags Using static_branch to replace the LBR INFO flags to optimize the LBR INFO parsing. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Kan Liang <kan.liang@linux.intel.com> Link: https://lkml.kernel.org/r/1641315077-96661-2-git-send-email-peterz@infradead.org