Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1501412
| From | Michal Hocko <mhocko@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC] scripts: Include postprocessing script for memory allocation tracing |
| Date | 2016-10-16 09:40 +0200 |
| Message-ID | <ssOd3-2Ix-3@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <sj3n3-3HM-3@gated-at.bofh.it> <skrGG-87E-13@gated-at.bofh.it> <sktIu-19y-27@gated-at.bofh.it> <sr6xr-7XD-19@gated-at.bofh.it> <ssGIx-69W-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat 15-10-16 19:31:22, Janani Ravichandran wrote: > > > On Oct 11, 2016, at 10:43 AM, Janani Ravichandran <janani.rvchndrn@gmail.com> wrote: > > > > Alright. I’ll add a starting tracepoint, change the script accordingly and > > send a v2. Thanks! > > > I looked at it again and I think that the context information we need > can be obtained from the tracepoint trace_mm_page_alloc in > alloc_pages_nodemask(). trace_mm_page_alloc will tell you details about the allocation, like gfp mask, order but it doesn't tell you how long the allocation took at its current form. So either you have to note jiffies at the allocation start and then add the end-start in the trace point or we really need another trace point to note the start. The later has an advantage that we do not add unnecessary load for jiffies when the tracepoint is disabled. -- Michal Hocko SUSE Labs
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [RFC] scripts: Include postprocessing script for memory allocation tracing Janani Ravichandran <janani.rvchndrn@gmail.com> - 2016-10-16 01:40 +0200
Re: [RFC] scripts: Include postprocessing script for memory allocation tracing Michal Hocko <mhocko@kernel.org> - 2016-10-16 09:40 +0200
Re: [RFC] scripts: Include postprocessing script for memory allocation tracing Michal Hocko <mhocko@kernel.org> - 2016-10-18 15:20 +0200
Re: [RFC] scripts: Include postprocessing script for memory allocation tracing Janani Ravichandran <janani.rvchndrn@gmail.com> - 2016-10-21 01:20 +0200
Re: [RFC] scripts: Include postprocessing script for memory allocation tracing Michal Hocko <mhocko@kernel.org> - 2016-10-21 09:10 +0200
csiph-web