* native_save_fl taking good amount of time in profile @ 2012-05-25 22:12 Xin Tong 2012-05-25 22:27 ` Andi Kleen 0 siblings, 1 reply; 4+ messages in thread From: Xin Tong @ 2012-05-25 22:12 UTC (permalink / raw) To: linux-kernel I have collected a profile on the whole system. But the only thing that is really running is a mysql database server. I have noticed that there is a function in kernel that took 5% of the overall running time. what does native_save_fl do ? does it make sense that native_save_fl takes the most amount of time among all kernel functions ? Thank ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: native_save_fl taking good amount of time in profile 2012-05-25 22:12 native_save_fl taking good amount of time in profile Xin Tong @ 2012-05-25 22:27 ` Andi Kleen 2012-05-25 23:10 ` Xin Tong 0 siblings, 1 reply; 4+ messages in thread From: Andi Kleen @ 2012-05-25 22:27 UTC (permalink / raw) To: Xin Tong; +Cc: linux-kernel Xin Tong <xerox.time.tech@gmail.com> writes: > I have collected a profile on the whole system. But the only thing > that is really running is a mysql database server. I have noticed that > there is a function in kernel that took 5% of the overall running > time. what does native_save_fl do ? does it make sense that > native_save_fl takes the most amount of time among all kernel > functions ? What are the callers (-g)? It does not make sense normally. -Andi -- ak@linux.intel.com -- Speaking for myself only ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: native_save_fl taking good amount of time in profile 2012-05-25 22:27 ` Andi Kleen @ 2012-05-25 23:10 ` Xin Tong 2012-05-29 13:04 ` Liu Zhiyou 0 siblings, 1 reply; 4+ messages in thread From: Xin Tong @ 2012-05-25 23:10 UTC (permalink / raw) To: Andi Kleen; +Cc: linux-kernel i do not know its callers from the profile. one thing i am suspicious of is that my kernel debug-info is wrong. by the way, what does the function do ? Thanks Xin On Fri, May 25, 2012 at 6:27 PM, Andi Kleen <andi@firstfloor.org> wrote: > Xin Tong <xerox.time.tech@gmail.com> writes: > >> I have collected a profile on the whole system. But the only thing >> that is really running is a mysql database server. I have noticed that >> there is a function in kernel that took 5% of the overall running >> time. what does native_save_fl do ? does it make sense that >> native_save_fl takes the most amount of time among all kernel >> functions ? > > What are the callers (-g)? It does not make sense normally. > -Andi > > -- > ak@linux.intel.com -- Speaking for myself only ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: native_save_fl taking good amount of time in profile 2012-05-25 23:10 ` Xin Tong @ 2012-05-29 13:04 ` Liu Zhiyou 0 siblings, 0 replies; 4+ messages in thread From: Liu Zhiyou @ 2012-05-29 13:04 UTC (permalink / raw) To: Xin Tong; +Cc: Andi Kleen, linux-kernel 于 2012年05月26日 07:10, Xin Tong 写道: > i do not know its callers from the profile. one thing i am suspicious > of is that my kernel debug-info is wrong. by the way, what does the > function do ? > > Thanks > > Xin > > > On Fri, May 25, 2012 at 6:27 PM, Andi Kleen<andi@firstfloor.org> wrote: >> Xin Tong<xerox.time.tech@gmail.com> writes: >> >>> I have collected a profile on the whole system. But the only thing >>> that is really running is a mysql database server. I have noticed that >>> there is a function in kernel that took 5% of the overall running >>> time. what does native_save_fl do ? does it make sense that >>> native_save_fl takes the most amount of time among all kernel >>> functions ? >> What are the callers (-g)? It does not make sense normally. >> -Andi Xin Tong, Use perf record -g, then it will give you a call-graph. $ man perf-record -g, --call-graph Do call-graph (stack chain/backtrace) recording. $ man pref-report -g [type,min[,limit],order], --call-graph Display call chains using type, min percent threshold, optional print limit and order. type can be either: · flat: single column, linear exposure of call chains. · graph: use a graph tree, displaying absolute overhead rates. · fractal: like graph, but displays relative rates. Each branch of the tree is considered as a new profiled object. order can be either: - callee: callee based call graph. - caller: inverted caller based call graph. Default: fractal,0.5,callee. Regards, LIU Zhiyou ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-29 13:02 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-05-25 22:12 native_save_fl taking good amount of time in profile Xin Tong 2012-05-25 22:27 ` Andi Kleen 2012-05-25 23:10 ` Xin Tong 2012-05-29 13:04 ` Liu Zhiyou
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox