Skip to content

Commit 015c007

Browse files
Merge pull request #34 from DataCoreSoftware/debug_log
Enable logging in debug build
2 parents e336cd8 + 9b82334 commit 015c007

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

ZFSin/ZFSin.vcxproj

+2-3
Original file line numberDiff line numberDiff line change
@@ -161,19 +161,18 @@
161161
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
162162
<ClCompile>
163163
<AdditionalIncludeDirectories>$(SolutionDir)\ZFSin;$(SolutionDir)/ZFSin/spl/include;$(SolutionDir)/ZFSin/zfs/include;$(SolutionDir)/ZFSin/zfs/module/icp/include;$(SolutionDir)/ZFSin/zfs/lib/zlib-1.2.3;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
164-
<PreprocessorDefinitions>WPPFILE="%(Filename).tmh";_KERNEL;__x86_64__;_LP64;%(PreprocessorDefinitions);Z_PREFIX;MY_ZCALLOC</PreprocessorDefinitions>
164+
<PreprocessorDefinitions>RUN_WPP;WPPFILE="%(Filename).tmh";_KERNEL;__x86_64__;_LP64;%(PreprocessorDefinitions);Z_PREFIX;MY_ZCALLOC</PreprocessorDefinitions>
165165
<TreatWarningAsError>false</TreatWarningAsError>
166166
<WarningLevel>Level3</WarningLevel>
167167
<StructMemberAlignment>8Bytes</StructMemberAlignment>
168168
<RuntimeLibrary>
169169
</RuntimeLibrary>
170170
<DisableSpecificWarnings>4018;4100;4146;4152;4200;4201;4204;4210;4211;4242;4244;4389;4706;%(DisableSpecificWarnings)</DisableSpecificWarnings>
171-
<WppEnabled>false</WppEnabled>
171+
<WppEnabled>true</WppEnabled>
172172
<WppTraceFunction>TraceEvent{FLAGS=MYDRIVER_ALL_INFO}(LEVEL, MSG, ...);dprintf{FLAGS=MYDRIVER_ALL_INFO, LEVEL=TRACE_INFO}(MSG, ...);</WppTraceFunction>
173173
<WppGenerateUsingTemplateFile>{km-default.tpl}*.tmh</WppGenerateUsingTemplateFile>
174174
<WppScanConfigurationData>$(KMDF_INC_PATH)$(KMDF_VER_PATH)\WdfTraceEnums.h</WppScanConfigurationData>
175175
<WppPreprocessorDefinitions>WPP_INLINE __inline</WppPreprocessorDefinitions>
176-
<UndefinePreprocessorDefinitions>RUN_WPP</UndefinePreprocessorDefinitions>
177176
</ClCompile>
178177
<Link>
179178
<AdditionalDependencies>wdmsec.lib;Storport.lib;scsiwmi.lib;%(AdditionalDependencies)</AdditionalDependencies>

ZFSin/ZFSin.vcxproj.filters

+1-1
Original file line numberDiff line numberDiff line change
@@ -1303,4 +1303,4 @@
13031303
<None Include="..\README.md" />
13041304
<None Include="..\Testing.md" />
13051305
</ItemGroup>
1306-
</Project>
1306+
</Project>

0 commit comments

Comments
 (0)