<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI Symbol";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";
mso-fareast-language:EN-IN;}
.MsoChpDefault
{mso-style-type:export-only;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m facing compilation error in build after pulling in the stable kernel LTS(4.14.y) commit -
<a href="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-4.14.y&id=77322edb99f0176ec67a300b9f263719ba391b89">
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-4.14.y&id=77322edb99f0176ec67a300b9f263719ba391b89</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I tried this solution - <a href="https://github.com/lttng/lttng-modules/commit/7318a1e88c8097733f5a05529069e4e03c142cae">
https://github.com/lttng/lttng-modules/commit/7318a1e88c8097733f5a05529069e4e03c142cae</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But this also didn’t resolve my problem. <o:p></o:p></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| In file included from
/home/snaaz/elm/8up/main/build_zcu/tmp/work/zcu102_zynqmp_mel-mel-linux/lttng-modules/2.10.9-r0/lttng-modules-2.10.9/probes/../probes/define_trace.h</span><span style="font-size:10.0pt;font-family:"Segoe UI Symbol",sans-serif;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">💯</span><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">0,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| from
/home/snaaz/elm/8up/main/build_zcu/tmp/work/zcu102_zynqmp_mel-mel-linux/lttng-modules/2.10.9-r0/lttng-modules-2.10.9/probes/../instrumentation/events/lttng-module/writeback.h:735,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| from
/home/snaaz/elm/8up/main/build_zcu/tmp/work/zcu102_zynqmp_mel-mel-linux/lttng-modules/2.10.9-r0/lttng-modules-2.10.9/probes/lttng-probe-writeback.c:51:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| /home/snaaz/elm/8up/main/build_zcu/tmp/work/zcu102_zynqmp_mel-mel-linux/lttng-modules/2.10.9-r0/lttng-modules-2.10.9/probes/../probes/lttng-tracepoint-event-impl.h:143:6:
error: conflicting types for 'trace_writeback_queue_io'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| void trace_##_name(_proto);<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| ^<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| /home/snaaz/elm/8up/main/build_zcu/tmp/work/zcu102_zynqmp_mel-mel-linux/lttng-modules/2.10.9-r0/lttng-modules-2.10.9/probes/../probes/lttng-tracepoint-event-impl.h:55:2:
note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map,
name, map, PARAMS(proto), PARAMS(args))<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| /home/snaaz/elm/8up/main/build_zcu/tmp/work/zcu102_zynqmp_mel-mel-linux/lttng-modules/2.10.9-r0/lttng-modules-2.10.9/probes/../probes/lttng-tracepoint-event-impl.h:97:2:
note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| LTTNG_TRACEPOINT_EVENT_MAP(name,
name, \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| ^~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| /home/snaaz/elm/8up/main/build_zcu/tmp/work/zcu102_zynqmp_mel-mel-linux/lttng-modules/2.10.9-r0/lttng-modules-2.10.9/probes/../instrumentation/events/lttng-module/writeback.h:375:1:
note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| LTTNG_TRACEPOINT_EVENT(writeback_queue_io,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| ^~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| In file included from
/home/snaaz/elm/8up/main/build_zcu/tmp/work-shared/zcu102-zynqmp-mel/kernel-source/include/trace/events/writeback.h:8:0,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| from
/home/snaaz/elm/8up/main/build_zcu/tmp/work/zcu102_zynqmp_mel-mel-linux/lttng-modules/2.10.9-r0/lttng-modules-2.10.9/probes/lttng-probe-writeback.c:33:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| /home/snaaz/elm/8up/main/build_zcu/tmp/work-shared/zcu102-zynqmp-mel/kernel-source/include/linux/tracepoint.h:187:21:
note: previous definition of 'trace_writeback_queue_io' was here<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| static inline void trace_##name(proto)
\<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| ^<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| /home/snaaz/elm/8up/main/build_zcu/tmp/work-shared/zcu102-zynqmp-mel/kernel-source/include/linux/tracepoint.h:352:2:
note: in expansion of macro '__DECLARE_TRACE'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| __DECLARE_TRACE(name,
PARAMS(proto), PARAMS(args), \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| ^~~~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| /home/snaaz/elm/8up/main/build_zcu/tmp/work-shared/zcu102-zynqmp-mel/kernel-source/include/linux/tracepoint.h:488:2:
note: in expansion of macro 'DECLARE_TRACE'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| DECLARE_TRACE(name,
PARAMS(proto), PARAMS(args))<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| ^~~~~~~~~~~~~<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| /home/snaaz/elm/8up/main/build_zcu/tmp/work-shared/zcu102-zynqmp-mel/kernel-source/include/trace/events/writeback.h:361:1:
note: in expansion of macro 'TRACE_EVENT'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:7.5pt;background:#F1F8FF"><span style="font-size:10.0pt;font-family:Consolas;color:#7F7F7F;mso-style-textfill-fill-color:#7F7F7F;mso-style-textfill-fill-alpha:100.0%;mso-fareast-language:EN-IN">| TRACE_EVENT(writeback_queue_io,<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Kindly look into it and do the needful. Thanks!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-IN">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-IN">Syeda Shagufta Naaz<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#191919;background:white;mso-fareast-language:EN-IN">Software Development Engineer | Mentor Embedded Linux</span><span style="color:#333399;background:white;mso-fareast-language:EN-IN"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:18.0pt;font-family:"Arial",sans-serif;color:#C00000;background:white;mso-fareast-language:EN-IN">Mentor</span></b><b><span style="font-family:"Arial",sans-serif;color:#191919;background:white;mso-fareast-language:EN-IN">,</span></b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#191919;background:white;mso-fareast-language:EN-IN"> </span><span style="font-size:10.0pt;color:#2E74B5;background:white;mso-fareast-language:EN-IN">A
Siemens Business</span><span style="mso-fareast-language:EN-IN"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>