the storage stack WPP tracing

device driver

    Sponsored Links

    Next

  • 1. What library for OpenPort
    Erhmm... I cant find OpenPort anywhere... what LIB should I include ? TIA
  • 2. How to develop netmeeting like app
    I need to develop an application that takes control over tcp/ip on a client computer by specifing the client ip and port. This app will need to show the client desktop as he see it and have access to its machine. Any ideas? Ron
  • 3. Reboot without bluescreen
    I am working with 1394 device driver over windows 1394 bus driver. I kept night long testing for Isoch send requests. There was debugger on a serial port. My target PC rebooted sometime in the night. There was no bluescreen. No error displayed on the debugger. If BSOD occurs, it should break into my debugger which caught only one print regarding reboot "Shutdown occured". There are few prints before which suggest very strange pattern of events occured. My "surprise remove" called. Later "Add Device". Again "Surprise remove". Then later shutdown and no blue screen. I am sure no one removed 1394 device cables. Is there any chance why "Surprise remove" occured on its own. If there is reboot without BSOD, how can I check. How can I make windows always give me BSOD for error. I even have "complete memory dump" set in recovery console. This is not dumped even. I also have driver verifier selected for my driver. Any clues ? Everything worked as though I removed cable, connected it, again removed and then restarted my PC..I dont think I came to lab in my dream :) Thanks.
  • 4. questions about USB bandwidth consumption under Windows2000 professional
    Hi, I have some questions about USB device bandwidth consumption under platform of Windows2000 Professional. 1/ How does OS calculate each USB device bandwidth consumption? 2/ is there any relations between the bandwidth consumption and the driver of USB device ? or the bandwidth consumption is only determined by USB device? Any advices are appreciated!
  • 5. why PassThru couldn't pass ChkINF test?
    When I tested PassThru, a sample IM driver in Windows 2003 DDK,with HCT 11.2 ChkINF, I found the following error "Line 33: ERROR: (DE22.19.4011) The AddService ServiceName parameter must match the NDI\Service entry in the Registry. " Can't the sample driver supplied by Microsoft pass the HCT test?

the storage stack WPP tracing

Postby QW5kcmV3IFNoYQ » Sat, 28 Apr 2007 23:58:02 GMT

Hi 

I am developing a storage stack driver, so I enabled the WPP tracing in disk 
and classpnp drivers, but what surprised me is that that pdb files for these 
drivers that are available thru the MS symbol server don contain tmf info!

Any thoughts/advises?
TIA
Andrew



Re: the storage stack WPP tracing

Postby Doron Holan [MS] » Sun, 29 Apr 2007 14:49:58 GMT

no symbols on the public symbol server contain tmf info.  this is a problem 
we want to address in the future

d

-- 
Please do not send e-mail directly to this alias. this alias is for 
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.









Re: the storage stack WPP tracing

Postby Andrew Sha » Mon, 30 Apr 2007 22:40:21 GMT

That would be great










Similar Threads:

1.compilation errors on wpp trace statement

hi all iam getting a strange wpp trace statement errors in my cpp file

okie call the cpp file as temp.cpp

DotraceError(_T("error")); 

okie now iam getting compilation error that 
WPP_CALL_TEMP_CPP undefined

when i went through the temp.cpp.tmh the dotrace is getting defined at some 
point as ..

#define WPP_(Id) WPP_EVAL(WPP_) ## WPP_EVAL(Id) ## WPP_EVAL(_) ## 
WPP_EVAL(WPP_THIS_FILE) ## WPP_EVAL(__LINE__)

here the WPP_EVAL(__LINE__) doesnt get expanded i guess and becos os this 
all trace statements in my source file is causin problem..


can some one help me on this ??

2.WPP tracing in user mode on Win2K

Hi,

I have to add wpp tracing to a user mode application that has to run on 
Win2K and XP.

I have added the um-w2k.tpl template to wpp preprocessor command line of the 
app. 
WPP_INIT_TRACING(<module name>) has been added in the main() function.

The program starts up fine on Win2K, but does not generate trace logs.

The same program when run on XP, generates wpp traces.

Any ideas?

-- 
sjain06

3.wpp tracing and logman


I use tracelog to start a trace session just using a guid (without access to 
.pdb or .tmf)

tracelog -start session_name -p guid_file -f log.etl -flag 0xff -level 0xff

But tracelog is not a distributable component. I'd like my clients to use 
logman to do the same thing. Is it possible? What would be the syntax?

thanks,
-- 
m navab

4.WPP - Trace Msg Func: dbgwrt(LEVEL,(FLAGS,MSG,...))

Hi,

is it possible to define a trace message function that supports the 
following parameter list: dbgwrt(TRACE_LEVEL_ERROR,(DBG_KRNL,"test")) ?

I have to convert in a lot of C projects with some OS independent code debug 
print messages with the following fix layout 'DbgFunc(dbgFlag, 
(dbgLev,"test\n"))' to WPP trace messages.
It seems that additional '( )' brackets within the parameter list of a trace 
message function are only allowed as follows:

#1 (OK)
sources file: RUN_WPP= $(SOURCES) -km -func:dbgwrt1((LEVEL,FLAGS,MSG,...))
C file: dbgwrt1((TRACE_LEVEL_ERROR,DBG_KRNL,"test %d",123));

#2 (OK)
sources file: RUN_WPP= $(SOURCES) -km -func:dbgwrt2(LEVEL,FLAGS,(MSG,...))
C file: dbgwrt2(TRACE_LEVEL_ERROR,DBG_KRNL,("test %d",123));

but NOT:
#3 (ERROR)
sources file: RUN_WPP= $(SOURCES) -km -func:dbgwrt3(LEVEL,(FLAGS,MSG,...))
C file: dbgwrt3(TRACE_LEVEL_ERROR,(DBG_KRNL,"test %d",123));

I get the following errors during compilation for #3:
..\bk.tmh(685) : error C2010: '(' : unexpected in macro formal parameter list
..\bk.c(121) : error C2059: syntax error : ')'
..\bk.c(121) : error C4013: '_POST' undefined; assuming extern returning int
..\bk.c(121) : error C2065: 'LEVEL' : undeclared identifier
..\bk.c(121) : error C2065: 'DBG_KRNL' : undeclared identifier
...and more

My WPP defines:

#define WPP_CONTROL_GUIDS \
	WPP_DEFINE_CONTROL_GUID(MDIS5,(0C3EE0F3,B98F,4a28,90ED,457E2344A9A4), \
  WPP_DEFINE_BIT(DBG_KRNL) \
  WPP_DEFINE_BIT(DBG_KRNL_IRQ) \
)

#define WPP_LEVEL_FLAGS_LOGGER(lvl,flags) WPP_LEVEL_LOGGER(flags)
#define WPP_LEVEL_FLAGS_ENABLED(lvl, flags) (WPP_LEVEL_ENABLED(flags) && 
WPP_CONTROL(WPP_BIT_ ## flags).Level  >= lvl)

Is there any solution for my problem?
Thanks for your time!

Best regards,
Dieter

5.Tracing using the WPP

I plan to add the tracing capability to the driver using the WPP. According 
to Microsoft's document, the performance impact to the driver is very low.
I would like to know if it is true or not from people here. If you have ever 
added this feature in your driver, can you feedback your opionions.

Thanks. 


6. wpp tracing cauese erros in DebugView

7. WPP Event Tracing

8. WPP Tracing in miniport



Return to device driver

 

Who is online

Users browsing this forum: No registered users and 80 guest