<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 3, 2017 at 5:44 PM, Frediano Ziglio <span dir="ltr"><<a href="mailto:fziglio@redhat.com" target="_blank">fziglio@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
><br>
> Added file with Windows trace preprocessor definitions<br>
><br>
> Signed-off-by: Yuri Benditovich <<a href="mailto:yuri.benditovich@daynix.com" target="_blank">yuri.benditovich@daynix.com</a>><br>
> ---<br>
>  qxldod/WppTrace.h             |  51 ++++++++++++++++<br>
>  qxldod/qxldod.vcxproj.filters | 133<br>
>  +++++++++++++++++++++---------------------<br>
>  2 files changed, 119 insertions(+), 65 deletions(-)<br>
>  create mode 100644 qxldod/WppTrace.h<br>
><br>
> diff --git a/qxldod/WppTrace.h b/qxldod/WppTrace.h<br>
> new file mode 100644<br>
> index 0000000..11f31e4<br>
> --- /dev/null<br>
> +++ b/qxldod/WppTrace.h<br>
> @@ -0,0 +1,51 @@<br>
> +/*<br>
> +* Copyright 2013-2016 Red Hat, Inc.<br>
> +*<br>
> +* Licensed under the Apache License, Version 2.0 (the "License");<br>
> +* you may not use this file except in compliance with the License.<br>
> +*<br>
> +* You may obtain a copy of the License at<br>
> +* <a href="http://www.apache.org/licenses/LICENSE-2.0" rel="noreferrer" target="_blank">http://www.apache.org/licenses/LICENSE-2.0</a><br>
> +*/<br>
> +<br>
> +//<br>
> +// Define the tracing flags.<br>
> +//<br>
> +// Tracing GUID - {756ABE50-54E3-4A05-B5BB-F0112C75B18A}<br>
> +//<br>
> +<br>
> +#define WPP_CONTROL_GUIDS                                              \<br>
> +    WPP_DEFINE_CONTROL_GUID(                                           \<br>
> +        QxlDodTraceGuid, (756ABE50,54E3,4A05,B5BB,F0112C75B18A),       \<br>
> +                                                                       \<br>
> +        WPP_DEFINE_BIT(TRACE_DRIVER)                                   \<br>
> +        WPP_DEFINE_BIT(TRACE_DEVICE)                                   \<br>
> +        WPP_DEFINE_BIT(TRACE_MEMORY)                                   \<br>
> +        WPP_DEFINE_BIT(TRACE_TIMING)                                   \<br>
> +        WPP_DEFINE_BIT(TRACE_HARDWARE)                                 \<br>
> +        )<br>
> +<br>
> +#define WPP_FLAG_LEVEL_LOGGER(flag, level)<br>
> \<br>
> +    WPP_LEVEL_LOGGER(flag)<br>
> +<br>
> +#define WPP_FLAG_LEVEL_ENABLED(flag, level)<br>
> \<br>
> +    (WPP_LEVEL_ENABLED(flag) &&<br>
> \<br>
> +     WPP_CONTROL(WPP_BIT_ ## flag).Level >= level)<br>
> +<br>
> +#define WPP_LEVEL_FLAGS_LOGGER(lvl,flags) \<br>
> +           WPP_LEVEL_LOGGER(flags)<br>
> +<br>
> +#define WPP_LEVEL_FLAGS_ENABLED(lvl, flags) \<br>
> +           (WPP_LEVEL_ENABLED(flags) && WPP_CONTROL(WPP_BIT_ ## flags).Level<br>
> >= lvl)<br>
> +<br>
> +//<br>
> +// This comment block is scanned by the trace preprocessor to define our<br>
> +// Trace function.<br>
> +//<br>
> +// begin_wpp config<br>
> +// FUNC Trace{FLAG=TRACE_DRIVER}(LEVEL,MSG, ...);<br>
> +// FUNC TraceEvents(LEVEL, FLAGS, MSG, ...);<br>
> +// FUNC DbgPrint{FLAG=TRACE_DRIVER}(LEVEL, (MSG, ...));<br>
> +// CUSTOM_TYPE(devprop, ItemEnum(DEVICE_REGISTRY_PROPERTY));<br>
> +// end_wpp<br>
> +//<br>
> diff --git a/qxldod/qxldod.vcxproj.filters b/qxldod/qxldod.vcxproj.filters<br>
> index 1e86aa6..ad95d9c 100755<br>
> --- a/qxldod/qxldod.vcxproj.filters<br>
> +++ b/qxldod/qxldod.vcxproj.filters<br>
> @@ -1,65 +1,68 @@<br><br></div></div>This file diff seems just end of line change and 3 added lines.<br></blockquote><div><br></div><div>I agree, but it is autogenerated by Visual studio.</div><div>Please let me know if you prefer manual editing of it, I'll do that</div></div></div></div></blockquote><div>I think can be easily fix before pushing the patch.<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
> -<?xml version="1.0" encoding="utf-8"?><br>
> -<Project ToolsVersion="4.0"<br>
> xmlns="<a href="http://schemas.microsoft.com/developer/msbuild/2003" rel="noreferrer" target="_blank">http://schemas.microsoft.com/developer/msbuild/2003</a>"><br>
> -  <ItemGroup><br>
> -    <Filter Include="Source Files"><br>
> -<br>
> <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier><br>
> -      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions><br>
> -    </Filter><br>
> -    <Filter Include="Header Files"><br>
> -<br>
> <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier><br>
> -      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions><br>
> -    </Filter><br>
> -    <Filter Include="Resource Files"><br>
> -<br>
> <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier><br>
> -<br>
> <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions><br>
> -    </Filter><br>
> -    <Filter Include="Driver Files"><br>
> -<br>
> <UniqueIdentifier>{8E41214B-6785-4CFE-B992-037D68949A14}</UniqueIdentifier><br>
> -      <Extensions>inf;inv;inx;mof;mc;</Extensions><br>
> -    </Filter><br>
> -  </ItemGroup><br>
> -  <ItemGroup><br>
> -    <ClInclude Include="BaseObject.h"><br>
> -      <Filter>Header Files</Filter><br>
> -    </ClInclude><br>
> -    <ClInclude Include="resource.h"><br>
> -      <Filter>Header Files</Filter><br>
> -    </ClInclude><br>
> -    <ClInclude Include="compat.h"><br>
> -      <Filter>Header Files</Filter><br>
> -    </ClInclude><br>
> -    <ClInclude Include="driver.h"><br>
> -      <Filter>Header Files</Filter><br>
> -    </ClInclude><br>
> -    <ClInclude Include="QxlDod.h"><br>
> -      <Filter>Header Files</Filter><br>
> -    </ClInclude><br>
> -  </ItemGroup><br>
> -  <ItemGroup><br>
> -    <ClCompile Include="BaseObject.cpp"><br>
> -      <Filter>Source Files</Filter><br>
> -    </ClCompile><br>
> -    <ClCompile Include="compat.cpp"><br>
> -      <Filter>Source Files</Filter><br>
> -    </ClCompile><br>
> -    <ClCompile Include="driver.cpp"><br>
> -      <Filter>Source Files</Filter><br>
> -    </ClCompile><br>
> -    <ClCompile Include="QxlDod.cpp"><br>
> -      <Filter>Source Files</Filter><br>
> -    </ClCompile><br>
> -    <ClCompile Include="mspace.c"><br>
> -      <Filter>Source Files</Filter><br>
> -    </ClCompile><br>
> -  </ItemGroup><br>
> -  <ItemGroup><br>
> -    <ResourceCompile Include="qxldod.rc"><br>
> -      <Filter>Resource Files</Filter><br>
> -    </ResourceCompile><br>
> -  </ItemGroup><br>
> -  <ItemGroup><br>
> -    <Inf Include="qxldod.inx"><br>
> -      <Filter>Driver Files</Filter><br>
> -    </Inf><br>
> -  </ItemGroup><br>
> -</Project><br>
> +<?xml version="1.0" encoding="utf-8"?><br>
> +<Project ToolsVersion="4.0"<br>
> xmlns="<a href="http://schemas.microsoft.com/developer/msbuild/2003" rel="noreferrer" target="_blank">http://schemas.microsoft.com/developer/msbuild/2003</a>"><br>
> +  <ItemGroup><br>
> +    <Filter Include="Source Files"><br>
> +<br>
> <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier><br>
> +      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions><br>
> +    </Filter><br>
> +    <Filter Include="Header Files"><br>
> +<br>
> <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier><br>
> +      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions><br>
> +    </Filter><br>
> +    <Filter Include="Resource Files"><br>
> +<br>
> <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier><br>
> +<br>
> <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions><br>
> +    </Filter><br>
> +    <Filter Include="Driver Files"><br>
> +<br>
> <UniqueIdentifier>{8E41214B-6785-4CFE-B992-037D68949A14}</UniqueIdentifier><br>
> +      <Extensions>inf;inv;inx;mof;mc;</Extensions><br>
> +    </Filter><br>
> +  </ItemGroup><br>
> +  <ItemGroup><br>
> +    <ClInclude Include="BaseObject.h"><br>
> +      <Filter>Header Files</Filter><br>
> +    </ClInclude><br>
> +    <ClInclude Include="resource.h"><br>
> +      <Filter>Header Files</Filter><br>
> +    </ClInclude><br>
> +    <ClInclude Include="compat.h"><br>
> +      <Filter>Header Files</Filter><br>
> +    </ClInclude><br>
> +    <ClInclude Include="driver.h"><br>
> +      <Filter>Header Files</Filter><br>
> +    </ClInclude><br>
> +    <ClInclude Include="QxlDod.h"><br>
> +      <Filter>Header Files</Filter><br>
> +    </ClInclude><br>
> +    <ClInclude Include="WppTrace.h"><br>
> +      <Filter>Header Files</Filter><br>
> +    </ClInclude><br>
> +  </ItemGroup><br>
> +  <ItemGroup><br>
> +    <ClCompile Include="BaseObject.cpp"><br>
> +      <Filter>Source Files</Filter><br>
> +    </ClCompile><br>
> +    <ClCompile Include="compat.cpp"><br>
> +      <Filter>Source Files</Filter><br>
> +    </ClCompile><br>
> +    <ClCompile Include="driver.cpp"><br>
> +      <Filter>Source Files</Filter><br>
> +    </ClCompile><br>
> +    <ClCompile Include="QxlDod.cpp"><br>
> +      <Filter>Source Files</Filter><br>
> +    </ClCompile><br>
> +    <ClCompile Include="mspace.c"><br>
> +      <Filter>Source Files</Filter><br>
> +    </ClCompile><br>
> +  </ItemGroup><br>
> +  <ItemGroup><br>
> +    <ResourceCompile Include="qxldod.rc"><br>
> +      <Filter>Resource Files</Filter><br>
> +    </ResourceCompile><br>
> +  </ItemGroup><br>
> +  <ItemGroup><br>
> +    <Inf Include="qxldod.inx"><br>
> +      <Filter>Driver Files</Filter><br>
> +    </Inf><br>
> +  </ItemGroup><br>
> +</Project><br>
> \ No newline at end of file<br><br></div></div><span class="HOEnZb"><span data-mce-style="color: #888888;" style="color: #888888;">Frediano<br>
</span></span></blockquote></div><br></div></div></blockquote><div><br></div></div></body></html>