trace works by tracing function names, not function objects.
Therefore tracing function objects, for example by
(trace #'foo)
will not yield any trace output. Instead you need to do
(trace foo)
Also, if the symbol
foo
is traced, then code which invokes
foo
by
(funcall (symbol-function 'foo) ...)
(funcall #'foo ...)
will not produce any trace output. You could try something like this instead:
(trace (funcall
:when (eq (car *traced-arglist*)
(symbol-function 'foo))))
LispWorks User Guide and Reference Manual - 21 Dec 2011