Messages in this thread | | | Subject | Re: [PATCH] sched: deliver sched_switch events to a current task | From | Peter Zijlstra <> | Date | Thu, 12 Jul 2012 15:56:01 +0200 |
| |
On Thu, 2012-07-12 at 14:14 +0400, Andrew Vagin wrote: > Otherwise they can't be filtered for a defined task. > > perf record -e sched:sched_switch ./foo > > This command doesn't report any event without this patch. > > I think it isn't a big problem for security, if someone will know > who will be executed next. By default perf is disabled for non-root > users. > > I need this events for profiling sleep times. sched_switch is used for > getting callchains and sched_stat_* is used for getting time periods. > This events are combined in user space, then it can be analized by > perf tools.
Thanks!
| |