On 8/25/15 1:07 AM, Namhyung Kim wrote:
Hi David,
On Mon, Aug 24, 2015 at 11:19:44PM -0700, David Ahern wrote:
On 8/24/15 11:11 PM, Namhyung Kim wrote:
+static int perf_sched__read_runtime_events(struct perf_sched *sched)
+{
+ const struct perf_evsel_str_handler handlers[] = {
+
Hi David,
On Mon, Aug 24, 2015 at 11:19:44PM -0700, David Ahern wrote:
> On 8/24/15 11:11 PM, Namhyung Kim wrote:
> >
> >+static int perf_sched__read_runtime_events(struct perf_sched *sched)
> >+{
> >+const struct perf_evsel_str_handler handlers[] = {
> >+{ "sched:sched_switch",
On 8/24/15 11:11 PM, Namhyung Kim wrote:
+static int perf_sched__read_runtime_events(struct perf_sched *sched)
+{
+ const struct perf_evsel_str_handler handlers[] = {
+ { "sched:sched_switch", process_sched_switch_event,
},
+ {
Currently 'perf sched record' commandsrecords various task stat info but
other perf sched commands don't use them. This is a very simple
implementation of showing those info to users.
$ sudo perf sched record -a sleep 1
[ perf record: Woken up 1 times to write data ]
[ perf record:
On 8/25/15 1:07 AM, Namhyung Kim wrote:
Hi David,
On Mon, Aug 24, 2015 at 11:19:44PM -0700, David Ahern wrote:
On 8/24/15 11:11 PM, Namhyung Kim wrote:
+static int perf_sched__read_runtime_events(struct perf_sched *sched)
+{
+ const struct perf_evsel_str_handler handlers[] = {
+
On 8/24/15 11:11 PM, Namhyung Kim wrote:
+static int perf_sched__read_runtime_events(struct perf_sched *sched)
+{
+ const struct perf_evsel_str_handler handlers[] = {
+ { sched:sched_switch, process_sched_switch_event,
},
+ {
Hi David,
On Mon, Aug 24, 2015 at 11:19:44PM -0700, David Ahern wrote:
On 8/24/15 11:11 PM, Namhyung Kim wrote:
+static int perf_sched__read_runtime_events(struct perf_sched *sched)
+{
+const struct perf_evsel_str_handler handlers[] = {
+{ sched:sched_switch,
Currently 'perf sched record' commandsrecords various task stat info but
other perf sched commands don't use them. This is a very simple
implementation of showing those info to users.
$ sudo perf sched record -a sleep 1
[ perf record: Woken up 1 times to write data ]
[ perf record:
8 matches
Mail list logo