http://bugs.winehq.org/show_bug.cgi?id=33018
Bug #: 33018 Summary: PDH does not support the 'Processor' object string Product: Wine Version: 1.5.24 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: pdh AssignedTo: wine-bugs@winehq.org ReportedBy: ehoover@mines.edu Classification: Unclassified
Calling PdhLookupPerfNameByIndex with the index 238 should return the string 'Processor', this is used by Silverlight to construct the string: \Processor(_Total#0)% Processor Time to obtain the processor usage.
http://bugs.winehq.org/show_bug.cgi?id=33018
--- Comment #1 from Erich Hoover ehoover@mines.edu 2013-02-19 10:09:11 CST --- Created attachment 43638 --> http://bugs.winehq.org/attachment.cgi?id=43638 pdh: Support the 'Processor' object string.
Patch to correct the problem.
https://bugs.winehq.org/show_bug.cgi?id=33018
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=33018
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #2 from super_man@post.com --- Patch still applies (how much value it has?) Send to patches list?
patching file dlls/pdh/pdh_main.c Hunk #1 succeeded at 192 (offset 1 line). Hunk #2 succeeded at 220 (offset 1 line). patching file dlls/pdh/tests/pdh.c
wine-1.7.52-190-gd548639
https://bugs.winehq.org/show_bug.cgi?id=33018
--- Comment #3 from Erich E. Hoover erich.e.hoover@wine-staging.com --- (In reply to super_man from comment #2)
Patch still applies (how much value it has?) Send to patches list?
Do you have an application that cares? I ran across this getting Silverlight working, but it didn't end up being relevant.
https://bugs.winehq.org/show_bug.cgi?id=33018
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=33018
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/pdh-PdhLookupPer | |fNameByIndex-processor Status|NEW |STAGED
https://bugs.winehq.org/show_bug.cgi?id=33018
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #4 from Zebediah Figura z.figura12@gmail.com --- If Silverlight didn't actually need this, is there value in keeping this around?
https://bugs.winehq.org/show_bug.cgi?id=33018
--- Comment #5 from Erich E. Hoover erich.e.hoover@gmail.com --- (In reply to Zebediah Figura from comment #4)
If Silverlight didn't actually need this, is there value in keeping this around?
I don't think so, I'd say it's safe to drop this one at this point.
https://bugs.winehq.org/show_bug.cgi?id=33018
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|STAGED |RESOLVED
--- Comment #6 from Zebediah Figura z.figura12@gmail.com --- Resolving this as INVALID then, thanks!
https://bugs.winehq.org/show_bug.cgi?id=33018
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Ken Sharp imwellcushtymelike@gmail.com --- Closing bugs marked as invalid