[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1342101361.28010.0.camel@twins>
Date:	Thu, 12 Jul 2012 15:56:01 +0200
From:	Peter Zijlstra <peterz@...radead.org>
To:	Andrew Vagin <avagin@...nvz.org>
Cc:	linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...nel.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Steven Rostedt <rostedt@...dmis.org>,
	Arun Sharma <asharma@...com>
Subject: Re: [PATCH] sched: deliver sched_switch events to a current task
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!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
