It is possible using Trace
->Trace into...
option. After opening the executable, select this option and specify the message you want to log (in Log text
field); for example {a:cip} {i:cip}
, which will log the module name, address and the instruction after a space.
As far as I am concerned, there is unfortunately no support for string comparison in x64dbg
, so you cannot write something like {modname@rip}==some_module_name
in Log condition
field. However, you may use the module entry point as a module identifier, like here:

After clicking OK
button, only instructions in the specified module will appear in the log panel and you should see something like this:

The only problem that is still to solve is to find the module entry address. I've done it by logging every module name and entry point until I find the relevant one. If I find any better way to do that, I will update my answer.