Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1478317
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v6 2/4] tracing: Add hist trigger support for generic fields |
| Date | 2016-09-07 15:50 +0200 |
| Message-ID | <seLoK-n1-31@gated-at.bofh.it> (permalink) |
| References | <seJ3A-7sB-33@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi Daniel,
[auto build test WARNING on tip/perf/core]
[also build test WARNING on v4.8-rc5 next-20160907]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Binoy-Jayan/tracing-Deference-pointers-without-RCU-checks/20160907-205003
config: i386-randconfig-x003-201636 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
kernel/trace/trace_events_hist.c: In function 'hist_field_comm':
>> kernel/trace/trace_events_hist.c:85:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return (u64) current->comm;
^
vim +85 kernel/trace/trace_events_hist.c
69 }
70
71 static u64 hist_field_log2(struct hist_field *hist_field, void *event)
72 {
73 u64 val = *(u64 *)(event + hist_field->field->offset);
74
75 return (u64) ilog2(roundup_pow_of_two(val));
76 }
77
78 static u64 hist_field_cpu(struct hist_field *hist_field, void *event)
79 {
80 return (u64) smp_processor_id();
81 }
82
83 static u64 hist_field_comm(struct hist_field *hist_field, void *event)
84 {
> 85 return (u64) current->comm;
86 }
87
88 #define DEFINE_HIST_FIELD_FN(type) \
89 static u64 hist_field_##type(struct hist_field *hist_field, void *event)\
90 { \
91 type *addr = (type *)(event + hist_field->field->offset); \
92 \
93 return (u64)(unsigned long)*addr; \
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v6 0/4] *** Latency histograms - IRQSOFF,PREEMPTOFF, Delayed HRTIMERS *** Binoy Jayan <binoy.jayan@linaro.org> - 2016-09-07 13:20 +0200
[PATCH v6 2/4] tracing: Add hist trigger support for generic fields Binoy Jayan <binoy.jayan@linaro.org> - 2016-09-07 13:20 +0200
Re: [PATCH v6 2/4] tracing: Add hist trigger support for generic fields kbuild test robot <lkp@intel.com> - 2016-09-07 15:50 +0200
[PATCH v6 3/4] tracing: Add trace_irqsoff tracepoints Binoy Jayan <binoy.jayan@linaro.org> - 2016-09-07 13:20 +0200
Re: [PATCH v6 3/4] tracing: Add trace_irqsoff tracepoints Thomas Gleixner <tglx@linutronix.de> - 2016-09-07 18:50 +0200
Re: [PATCH v6 3/4] tracing: Add trace_irqsoff tracepoints Daniel Wagner <daniel.wagner@bmw-carit.de> - 2016-09-08 08:20 +0200
Re: [PATCH v6 3/4] tracing: Add trace_irqsoff tracepoints Thomas Gleixner <tglx@linutronix.de> - 2016-09-08 08:40 +0200
Re: [PATCH v6 3/4] tracing: Add trace_irqsoff tracepoints Thomas Gleixner <tglx@linutronix.de> - 2016-09-08 10:10 +0200
[PATCH v6 1/4] tracing: Deference pointers without RCU checks Binoy Jayan <binoy.jayan@linaro.org> - 2016-09-07 13:20 +0200
Re: [PATCH v6 1/4] tracing: Deference pointers without RCU checks Masami Hiramatsu <masami.hiramatsu@linaro.org> - 2016-09-08 08:50 +0200
csiph-web