All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Daniel Bristot de Oliveira <bristot@redhat.com>
Cc: kbuild-all@01.org, Steven Rostedt <rostedt@goodmis.org>,
	Ingo Molnar <mingo@redhat.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Juri Lelli <juri.lelli@gmail.com>,
	Arnaldo Carvalho de Melo <acme@redhat.com>,
	LKML <linux-kernel@vger.kernel.org>,
	linux-rt-users <linux-rt-users@vger.kernel.org>
Subject: Re: [PATCH 3/4] sched/deadline: Tracepoints for deadline scheduler
Date: Tue, 23 Feb 2016 01:48:40 +0800	[thread overview]
Message-ID: <201602230139.gQRI9gJJ%fengguang.wu@intel.com> (raw)
In-Reply-To: <f3b54958f216d36be59363815a3d75a0636cda8b.1456157869.git.bristot@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 7068 bytes --]

Hi Daniel,

[auto build test WARNING on tip/sched/core]
[also build test WARNING on v4.5-rc5 next-20160222]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Daniel-Bristot-de-Oliveira/Tracepoints-for-deadline-scheduler/20160223-011407
config: i386-randconfig-s0-201608 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from include/trace/define_trace.h:95:0,
                    from include/trace/events/sched.h:655,
                    from kernel/sched/core.c:91:
   include/trace/events/sched.h: In function 'trace_raw_output_sched_deadline_replenish':
>> include/trace/events/sched.h:591:12: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=]
     TP_printk("comm=%s pid=%d now=%llu.%09u deadline=%llu.%09u runtime=%lld",
               ^
   include/trace/trace_events.h:342:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
     trace_seq_printf(s, print);     \
                         ^
   include/trace/trace_events.h:65:9: note: in expansion of macro 'PARAMS'
            PARAMS(print));         \
            ^
   include/trace/events/sched.h:569:1: note: in expansion of macro 'TRACE_EVENT'
    TRACE_EVENT(sched_deadline_replenish,
    ^
>> include/trace/events/sched.h:591:2: note: in expansion of macro 'TP_printk'
     TP_printk("comm=%s pid=%d now=%llu.%09u deadline=%llu.%09u runtime=%lld",
     ^
   include/trace/events/sched.h:591:12: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=]
     TP_printk("comm=%s pid=%d now=%llu.%09u deadline=%llu.%09u runtime=%lld",
               ^
   include/trace/trace_events.h:342:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
     trace_seq_printf(s, print);     \
                         ^
   include/trace/trace_events.h:65:9: note: in expansion of macro 'PARAMS'
            PARAMS(print));         \
            ^
   include/trace/events/sched.h:569:1: note: in expansion of macro 'TRACE_EVENT'
    TRACE_EVENT(sched_deadline_replenish,
    ^
>> include/trace/events/sched.h:591:2: note: in expansion of macro 'TP_printk'
     TP_printk("comm=%s pid=%d now=%llu.%09u deadline=%llu.%09u runtime=%lld",
     ^
   include/trace/events/sched.h: In function 'trace_raw_output_sched_deadline_template':
   include/trace/events/sched.h:619:12: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
     TP_printk("now=%llu.%09u deadline=%llu.%09u remaining_runtime=%lld",
               ^
   include/trace/trace_events.h:342:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
     trace_seq_printf(s, print);     \
                         ^
   include/trace/events/sched.h:619:2: note: in expansion of macro 'TP_printk'
     TP_printk("now=%llu.%09u deadline=%llu.%09u remaining_runtime=%lld",
     ^
   include/trace/events/sched.h:619:12: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=]
     TP_printk("now=%llu.%09u deadline=%llu.%09u remaining_runtime=%lld",
               ^
   include/trace/trace_events.h:342:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
     trace_seq_printf(s, print);     \
                         ^
   include/trace/events/sched.h:619:2: note: in expansion of macro 'TP_printk'
     TP_printk("now=%llu.%09u deadline=%llu.%09u remaining_runtime=%lld",
     ^

vim +591 include/trace/events/sched.h

   563		TP_printk("cpu=%d", __entry->cpu)
   564	);
   565	
   566	/*
   567	 * Tracepoint for runtime replenishment of deadline tasks:
   568	 */
 > 569	TRACE_EVENT(sched_deadline_replenish,
   570	
   571		TP_PROTO(struct sched_dl_entity *dl_se),
   572	
   573		TP_ARGS(dl_se),
   574	
   575		TP_STRUCT__entry(
   576			__array(	char,	comm,	TASK_COMM_LEN	)
   577			__field(	pid_t,	pid			)
   578			__field(	u64,	now			)
   579			__field(	u64,	deadline		)
   580			__field(	s64,	runtime			)
   581		),
   582	
   583		TP_fast_assign(
   584			memcpy(__entry->comm, dl_task_of(dl_se)->comm, TASK_COMM_LEN);
   585			__entry->now		= rq_clock(rq_of_dl_rq(dl_rq_of_se(dl_se)));
   586			__entry->pid		= dl_task_of(dl_se)->pid;
   587			__entry->deadline	= dl_se->deadline;
   588			__entry->runtime	= dl_se->runtime;
   589		),
   590	
 > 591		TP_printk("comm=%s pid=%d now=%llu.%09u deadline=%llu.%09u runtime=%lld",
   592			  __entry->comm,
   593			  __entry->pid,
   594			  __print_ns_to_secs(__entry->now),
   595			  __print_ns_without_secs(__entry->now),
   596			  __print_ns_to_secs(__entry->deadline),
   597			  __print_ns_without_secs(__entry->deadline),
   598			  __entry->runtime)
   599	);
   600	
   601	DECLARE_EVENT_CLASS(sched_deadline_template,
   602	
   603		TP_PROTO(struct sched_dl_entity *dl_se),
   604	
   605		TP_ARGS(dl_se),
   606	
   607		TP_STRUCT__entry(
   608			__field(	u64,	now			)
   609			__field(	u64,	deadline		)
   610			__field(	s64,	runtime			)
   611		),
   612	
   613		TP_fast_assign(
   614			__entry->now		= rq_clock(rq_of_dl_rq(dl_rq_of_se(dl_se)));
   615			__entry->deadline	= dl_se->deadline;
   616			__entry->runtime	= dl_se->runtime;
   617		),
   618	
   619		TP_printk("now=%llu.%09u deadline=%llu.%09u remaining_runtime=%lld",
   620			  __print_ns_to_secs(__entry->now),
   621			  __print_ns_without_secs(__entry->now),
   622			  __print_ns_to_secs(__entry->deadline),
   623			  __print_ns_without_secs(__entry->deadline),
   624			  __entry->runtime)
   625	);
   626	
   627	/*
   628	 * Tracepoint for sched_yield() of a deadline task (the task
   629	 * went to sleep waiting for the next period)
   630	 */
   631	DEFINE_EVENT(sched_deadline_template, sched_deadline_yield,
   632		     TP_PROTO(struct sched_dl_entity *dl_se),
   633		     TP_ARGS(dl_se));
   634	
   635	/*
   636	 * Tracepoint for throttling of a deadline task that consumed all its
   637	 * runtime
   638	 */
   639	DEFINE_EVENT_CONDITION(sched_deadline_template, sched_deadline_throttle,
   640		     TP_PROTO(struct sched_dl_entity *dl_se),
   641		     TP_ARGS(dl_se),
   642		     TP_CONDITION(!dl_se->dl_yielded));
   643	
   644	/*
   645	 * Tracepoint for blocking of a deadline task. The deadline task was
   646	 * dequeued, but neither by being throttled nor yielding.
   647	 */
   648	DEFINE_EVENT_CONDITION(sched_deadline_template, sched_deadline_block,
   649		     TP_PROTO(struct sched_dl_entity *dl_se),
   650		     TP_ARGS(dl_se),
   651		     TP_CONDITION(!dl_se->dl_yielded && !dl_se->dl_throttled));
   652	#endif /* _TRACE_SCHED_H */
   653	
   654	/* This part must be outside protection */
 > 655	#include <trace/define_trace.h>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 30800 bytes --]

  parent reply	other threads:[~2016-02-22 17:49 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-22 17:08 [PATCH 0/4] Tracepoints for deadline scheduler Daniel Bristot de Oliveira
2016-02-22 17:08 ` [PATCH 1/4] tracing: Add __print_ns_to_secs() and __print_ns_without_secs() helpers Daniel Bristot de Oliveira
2016-02-22 17:08 ` [PATCH 2/4] sched: Move deadline container_of() helper functions into sched.h Daniel Bristot de Oliveira
2016-02-22 17:08 ` [PATCH 3/4] sched/deadline: Tracepoints for deadline scheduler Daniel Bristot de Oliveira
2016-02-22 17:32   ` Peter Zijlstra
2016-02-22 17:48     ` Steven Rostedt
2016-02-22 20:11       ` Daniel Bristot de Oliveira
2016-02-22 21:30       ` Peter Zijlstra
2016-02-22 22:30         ` Steven Rostedt
2016-02-23 10:40           ` Juri Lelli
2016-02-23 10:44           ` Peter Zijlstra
2016-02-23 13:10             ` Steven Rostedt
2016-02-24  8:48               ` Ingo Molnar
2016-02-23 14:27             ` Peter Zijlstra
2016-02-23 16:19             ` Daniel Bristot de Oliveira
2016-02-24  2:29             ` Daniel Bristot de Oliveira
2016-02-22 17:48   ` kbuild test robot [this message]
2016-02-22 17:08 ` [PATCH 4/4] tools lib traceevent: Implements '%' operation Daniel Bristot de Oliveira
2016-02-22 20:23   ` Steven Rostedt
2016-02-23 14:38     ` Arnaldo Carvalho de Melo
2016-02-23 14:44       ` Arnaldo Carvalho de Melo
2016-02-25  5:41   ` [tip:perf/core] tools lib traceevent: Implement " tip-bot for Daniel Bristot de Oliveira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201602230139.gQRI9gJJ%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=acme@redhat.com \
    --cc=bristot@redhat.com \
    --cc=juri.lelli@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.