Commit 597b091
committed
Fix issue where full process path was reported.
When running presentmon as-admin, and when running presentmon before the
target application, the application process would be reported as
\Device\HarddiskVolumn...\...\Process.exe instead of Process.exe as
in other cases.
This change prunes off everything but the Process.exe for that case.
It also makes it more clear that ImageName is only valid for process
start events (since the property on ProcessStop is not reliable).
Addresses issue #1571 parent d0ffa18 commit 597b091
File tree
2 files changed
+25
-19
lines changed- PresentData
2 files changed
+25
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2186 | 2186 | | |
2187 | 2187 | | |
2188 | 2188 | | |
2189 | | - | |
| 2189 | + | |
| 2190 | + | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
2190 | 2194 | | |
2191 | | - | |
| 2195 | + | |
2192 | 2196 | | |
2193 | 2197 | | |
2194 | 2198 | | |
2195 | 2199 | | |
2196 | 2200 | | |
2197 | 2201 | | |
2198 | | - | |
2199 | 2202 | | |
2200 | 2203 | | |
2201 | | - | |
2202 | | - | |
2203 | | - | |
| 2204 | + | |
| 2205 | + | |
2204 | 2206 | | |
2205 | 2207 | | |
2206 | 2208 | | |
| |||
2210 | 2212 | | |
2211 | 2213 | | |
2212 | 2214 | | |
2213 | | - | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
| 2218 | + | |
| 2219 | + | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
2214 | 2223 | | |
2215 | 2224 | | |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
2216 | 2230 | | |
2217 | 2231 | | |
2218 | 2232 | | |
2219 | 2233 | | |
2220 | | - | |
2221 | | - | |
2222 | | - | |
2223 | | - | |
2224 | | - | |
2225 | | - | |
2226 | | - | |
2227 | | - | |
2228 | 2234 | | |
2229 | 2235 | | |
2230 | 2236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments