Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1618972
| From | Andi Kleen <ak@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 2/5] perf/x86/intel: Record branch type |
| Date | 2017-04-07 19:00 +0200 |
| Message-ID | <ttFoT-1r2-35@gated-at.bofh.it> (permalink) |
| References | <ttshY-1au-3@gated-at.bofh.it> <ttshY-1au-13@gated-at.bofh.it> <ttDZM-w1-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Apr 07, 2017 at 05:20:31PM +0200, Peter Zijlstra wrote: > On Fri, Apr 07, 2017 at 06:47:43PM +0800, Jin Yao wrote: > > Perf already has support for disassembling the branch instruction > > and using the branch type for filtering. The patch just records > > the branch type in perf_branch_entry. > > > > Before recording, the patch converts the x86 branch classification > > to common branch classification and compute for checking if the > > branches cross 4K or 2MB areas. It's an approximate computing for > > crossing 4K page or 2MB page. > > The changelog is completely empty of rationale. Why do we care? > > Not having the binary is a very bad reason; you can't do much of > anything if that's missing. It's a somewhat common situation with partially JITed code, if you don't have an agent. You can still do a lot of useful things. We found it useful to have this extra information during workload analysis. Forward conditionals and page crossing jumps are indications of frontend problems. -Andi
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/5] perf report: Show branch type Jin Yao <yao.jin@linux.intel.com> - 2017-04-07 05:00 +0200
[PATCH v2 1/5] perf/core: Define the common branch type classification Jin Yao <yao.jin@linux.intel.com> - 2017-04-07 05:00 +0200
[PATCH v2 2/5] perf/x86/intel: Record branch type Jin Yao <yao.jin@linux.intel.com> - 2017-04-07 05:00 +0200
Re: [PATCH v2 2/5] perf/x86/intel: Record branch type Peter Zijlstra <peterz@infradead.org> - 2017-04-07 17:30 +0200
Re: [PATCH v2 2/5] perf/x86/intel: Record branch type Andi Kleen <ak@linux.intel.com> - 2017-04-07 19:00 +0200
Re: [PATCH v2 2/5] perf/x86/intel: Record branch type Peter Zijlstra <peterz@infradead.org> - 2017-04-07 19:30 +0200
Re: [PATCH v2 2/5] perf/x86/intel: Record branch type Andi Kleen <ak@linux.intel.com> - 2017-04-07 20:00 +0200
Re: [PATCH v2 2/5] perf/x86/intel: Record branch type "Jin, Yao" <yao.jin@linux.intel.com> - 2017-04-08 10:50 +0200
csiph-web