From: kbuild test robot <lkp@intel.com>
To: Deepa Dinamani <deepa.kernel@gmail.com>
Cc: kbuild-all@01.org, rostedt@goodmis.org, mingo@redhat.com,
linux-kernel@vger.kernel.org, arnd@arndb.de,
y2038@lists.linaro.org
Subject: Re: [PATCH] trace: Make trace_hwlat timestamp y2038 safe
Date: Mon, 27 Mar 2017 18:04:34 +0800 [thread overview]
Message-ID: <201703271734.qpxCam2g%fengguang.wu@intel.com> (raw)
In-Reply-To: <1490561829-15618-1-git-send-email-deepa.kernel@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3416 bytes --]
Hi Deepa,
[auto build test WARNING on tip/perf/core]
[also build test WARNING on v4.11-rc4 next-20170327]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Deepa-Dinamani/trace-Make-trace_hwlat-timestamp-y2038-safe/20170327-150010
config: x86_64-randconfig-s2-03271627 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
kernel/trace/trace_output.c: In function 'trace_hwlat_print':
>> kernel/trace/trace_output.c:1168: warning: format '%lld' expects type 'long long int', but argument 6 has type '__kernel_time_t'
kernel/trace/trace_output.c: In function 'trace_hwlat_raw':
kernel/trace/trace_output.c:1202: warning: format '%lld' expects type 'long long int', but argument 5 has type '__kernel_time_t'
vim +1168 kernel/trace/trace_output.c
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1152) /* TRACE_HWLAT */
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1153) static enum print_line_t
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1154) trace_hwlat_print(struct trace_iterator *iter, int flags,
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1155) struct trace_event *event)
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1156) {
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1157) struct trace_entry *entry = iter->ent;
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1158) struct trace_seq *s = &iter->seq;
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1159) struct hwlat_entry *field;
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1160)
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1161) trace_assign_type(field, entry);
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1162)
df001907 Deepa Dinamani 2017-03-26 1163 trace_seq_printf(s, "#%-5u inner/outer(us): %4llu/%-5llu ts:%lld.%09ld",
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1164) field->seqnum,
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1165) field->duration,
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1166) field->outer_duration,
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1167) field->timestamp.tv_sec,
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 @1168) field->timestamp.tv_nsec);
e7c15cd8 Steven Rostedt (Red Hat 2016-06-23 1169)
7b2c8625 Steven Rostedt (Red Hat 2016-08-04 1170) if (field->nmi_count) {
7b2c8625 Steven Rostedt (Red Hat 2016-08-04 1171) /*
7b2c8625 Steven Rostedt (Red Hat 2016-08-04 1172) * The generic sched_clock() is not NMI safe, thus
7b2c8625 Steven Rostedt (Red Hat 2016-08-04 1173) * we only record the count and not the time.
7b2c8625 Steven Rostedt (Red Hat 2016-08-04 1174) */
7b2c8625 Steven Rostedt (Red Hat 2016-08-04 1175) if (!IS_ENABLED(CONFIG_GENERIC_SCHED_CLOCK))
7b2c8625 Steven Rostedt (Red Hat 2016-08-04 1176) trace_seq_printf(s, " nmi-total:%llu",
:::::: The code at line 1168 was first introduced by commit
:::::: e7c15cd8a113335cf7154f027c9c8da1a92238ee tracing: Added hardware latency tracer
:::::: TO: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 24241 bytes --]
next prev parent reply other threads:[~2017-03-27 10:05 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-26 20:57 [PATCH] trace: Make trace_hwlat timestamp y2038 safe Deepa Dinamani
2017-03-27 9:25 ` kbuild test robot
2017-03-27 9:55 ` Arnd Bergmann
2017-03-27 14:28 ` Steven Rostedt
2017-03-27 14:53 ` Arnd Bergmann
2017-03-27 15:30 ` Steven Rostedt
2017-03-27 15:35 ` Arnd Bergmann
2017-03-27 16:11 ` Steven Rostedt
2017-03-27 21:02 ` Deepa Dinamani
2017-03-28 7:26 ` Arnd Bergmann
2017-03-27 10:04 ` kbuild test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-03-16 13:56 [PATCH] acpi: fix incompatibility with mcount-based function graph tracing Josh Poimboeuf
2017-03-16 14:41 ` Steven Rostedt
2017-03-21 20:44 ` Paul Menzel
2017-03-22 0:04 ` Paul Menzel
2017-03-24 18:12 ` Josh Poimboeuf
2017-03-24 18:41 ` Steven Rostedt
2017-03-25 13:20 ` Rafael J. Wysocki
2017-03-27 14:08 ` Josh Poimboeuf
2017-03-27 14:54 ` [PATCH] ftrace/x86: fix x86-32 triple fault with graph tracing and suspend-to-ram Josh Poimboeuf
2017-03-27 15:01 ` Paul Menzel
2017-03-27 15:20 ` [PATCH v2] " Josh Poimboeuf
2017-03-27 15:24 ` [PATCH] " Steven Rostedt
2017-03-28 9:51 ` Paul Menzel
2017-03-28 15:39 ` Steven Rostedt
2017-03-28 15:55 ` Josh Poimboeuf
2017-03-28 21:12 ` Rafael J. Wysocki
2017-03-28 21:42 ` Josh Poimboeuf
2017-03-28 21:47 ` Rafael J. Wysocki
2017-03-27 16:59 ` [PATCH] acpi: fix incompatibility with mcount-based function graph tracing Rafael J. Wysocki
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=201703271734.qpxCam2g%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=deepa.kernel@gmail.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rostedt@goodmis.org \
--cc=y2038@lists.linaro.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).