Using XPERF for profiling

Has anyone had any success in using XPERF for doing a profile ala
kernrate? I’ve tried following the various directions of Microsoft
(some of which produce “invalid option” type warning), and when I do get
it to appear to work, I cannot get the output.

So anyone got a good set of steps for this?

Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

Are you using xperf from the sdk?

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Don Burn
Sent: Thursday, March 25, 2010 1:08 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Using XPERF for profiling

Has anyone had any success in using XPERF for doing a profile ala kernrate? I’ve tried following the various directions of Microsoft (some of which produce “invalid option” type warning), and when I do get it to appear to work, I cannot get the output.

So anyone got a good set of steps for this?

Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Hey, what timing! Wait for the next issue of The NT Insider :slight_smile:

Until then though have you tried:

xperf -on Latency

xperf -d profile.etl
xperf profile.etl

?

You can also add stack traces for the profiling events with:

xperf -on Latency -stackwalk Profile

xperf -d profile.etl
xperf profile.etl

-scott


Scott Noone
Consulting Associate
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Don Burn” wrote in message news:xxxxx@ntdev…
> Has anyone had any success in using XPERF for doing a profile ala
> kernrate? I’ve tried following the various directions of Microsoft
> (some of which produce “invalid option” type warning), and when I do get
> it to appear to work, I cannot get the output.
>
> So anyone got a good set of steps for this?
>
>
> Don Burn (MVP, Windows DKD)
> Windows Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
>
>
>
>
>

I’ve tried the Win7 SDK and the Windows Performance Toolkit.

Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

-----Original Message-----
From: Doron Holan [mailto:xxxxx@microsoft.com]
Posted At: Thursday, March 25, 2010 4:16 PM
Posted To: ntdev
Conversation: Using XPERF for profiling
Subject: RE: Using XPERF for profiling

Are you using xperf from the sdk?

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-406230-
xxxxx@lists.osr.com] On Behalf Of Don Burn
Sent: Thursday, March 25, 2010 1:08 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Using XPERF for profiling

Has anyone had any success in using XPERF for doing a profile ala
kernrate?
I’ve tried following the various directions of Microsoft (some of
which
produce “invalid option” type warning), and when I do get it to appear
to
work, I cannot get the output.

So anyone got a good set of steps for this?

Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

__________ Information from ESET Smart Security, version of virus
signature
database 4974 (20100325) __________

The message was checked by ESET Smart Security.

http://www.eset.com

Scott,

That is a new one, I have not tried it (nor seen it in the examples
from folks at Microsoft). When you do the xperf profile.etl what kind
of data do you get? I’ve only gotten some rather dumb graphs with no
useful data.

Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

-----Original Message-----
From: Scott Noone [mailto:xxxxx@osr.com]
Posted At: Thursday, March 25, 2010 4:19 PM
Posted To: ntdev
Conversation: Using XPERF for profiling
Subject: Re: Using XPERF for profiling

Hey, what timing! Wait for the next issue of The NT Insider :slight_smile:

Until then though have you tried:

xperf -on Latency

> xperf -d profile.etl
> xperf profile.etl
>
> ?
>
> You can also add stack traces for the profiling events with:
>
> xperf -on Latency -stackwalk Profile
>
> xperf -d profile.etl
> xperf profile.etl
>
>
> -scott
>
> –
> Scott Noone
> Consulting Associate
> OSR Open Systems Resources, Inc.
> http://www.osronline.com
>
> “Don Burn” wrote in message news:xxxxx@ntdev…
> > Has anyone had any success in using XPERF for doing a profile ala
> > kernrate? I’ve tried following the various directions of Microsoft
> > (some of which produce “invalid option” type warning), and when I do
> > get it to appear to work, I cannot get the output.
> >
> > So anyone got a good set of steps for this?
> >
> >
> > Don Burn (MVP, Windows DKD)
> > Windows Filesystem and Driver Consulting
> > Website: http://www.windrvr.com
> > Blog: http://msmvps.com/blogs/WinDrvr
> >
> >
> >
> >
> >
>
>
> Information from ESET Smart Security, version of virus
signature
> database 4974 (20100325)

>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>

The default view is a selection graphs of data that was collected (there’s
an arrow on the left hand side that will bring out a chooser so that you can
add/remove graphs). If you right click one of the graphs and choose “Summary
Table” you’ll get the more detailed view with the sample data. Hovering over
the data points also gives you information about that sample.

You can also select a time period on a graph (left click + drag) and then
bring up the summary table for that particular period.

-scott


Scott Noone
Consulting Associate
OSR Open Systems Resources, Inc.
http://www.osronline.com

“Don Burn” wrote in message news:xxxxx@ntdev…
> Scott,
>
> That is a new one, I have not tried it (nor seen it in the examples
> from folks at Microsoft). When you do the xperf profile.etl what kind
> of data do you get? I’ve only gotten some rather dumb graphs with no
> useful data.
>
>
> Don Burn (MVP, Windows DKD)
> Windows Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
>
>
>
>
>> -----Original Message-----
>> From: Scott Noone [mailto:xxxxx@osr.com]
>> Posted At: Thursday, March 25, 2010 4:19 PM
>> Posted To: ntdev
>> Conversation: Using XPERF for profiling
>> Subject: Re: Using XPERF for profiling
>>
>> Hey, what timing! Wait for the next issue of The NT Insider :slight_smile:
>>
>> Until then though have you tried:
>>
>> xperf -on Latency
>>
>> xperf -d profile.etl
>> xperf profile.etl
>>
>> ?
>>
>> You can also add stack traces for the profiling events with:
>>
>> xperf -on Latency -stackwalk Profile
>>
>> xperf -d profile.etl
>> xperf profile.etl
>>
>>
>> -scott
>>
>> –
>> Scott Noone
>> Consulting Associate
>> OSR Open Systems Resources, Inc.
>> http://www.osronline.com
>>
>> “Don Burn” wrote in message news:xxxxx@ntdev…
>> > Has anyone had any success in using XPERF for doing a profile ala
>> > kernrate? I’ve tried following the various directions of Microsoft
>> > (some of which produce “invalid option” type warning), and when I do
>> > get it to appear to work, I cannot get the output.
>> >
>> > So anyone got a good set of steps for this?
>> >
>> >
>> > Don Burn (MVP, Windows DKD)
>> > Windows Filesystem and Driver Consulting
>> > Website: http://www.windrvr.com
>> > Blog: http://msmvps.com/blogs/WinDrvr
>> >
>> >
>> >
>> >
>> >
>>
>>
>> Information from ESET Smart Security, version of virus
> signature
>> database 4974 (20100325)

>>
>> The message was checked by ESET Smart Security.
>>
>> http://www.eset.com
>>
>
>