Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
451156b4
Commit
451156b4
authored
Sep 23, 2015
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Oct 01, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Print process id in the relay log if requested.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
parent
7f4c158a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
relay.c
dlls/ntdll/relay.c
+7
-0
No files found.
dlls/ntdll/relay.c
View file @
451156b4
...
...
@@ -41,6 +41,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(relay);
#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
WINE_DECLARE_DEBUG_CHANNEL
(
timestamp
);
WINE_DECLARE_DEBUG_CHANNEL
(
pid
);
struct
relay_descr
/* descriptor for a module */
{
...
...
@@ -340,6 +341,9 @@ void * WINAPI relay_trace_entry( struct relay_descr *descr, unsigned int idx, co
{
if
(
TRACE_ON
(
timestamp
))
print_timestamp
();
if
(
TRACE_ON
(
pid
))
DPRINTF
(
"%04x:"
,
GetCurrentProcessId
()
);
if
(
entry_point
->
name
)
DPRINTF
(
"%04x:Call %s.%s("
,
GetCurrentThreadId
(),
data
->
dllname
,
entry_point
->
name
);
else
...
...
@@ -365,6 +369,9 @@ void WINAPI relay_trace_exit( struct relay_descr *descr, unsigned int idx,
if
(
TRACE_ON
(
timestamp
))
print_timestamp
();
if
(
TRACE_ON
(
pid
))
DPRINTF
(
"%04x:"
,
GetCurrentProcessId
()
);
if
(
entry_point
->
name
)
DPRINTF
(
"%04x:Ret %s.%s()"
,
GetCurrentThreadId
(),
data
->
dllname
,
entry_point
->
name
);
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment