In the profiler (Trace properties), check the "Show all columns" and you'll see in the extended columns DatabaseID and DatabaseName. Using them with the filter you can include the desired number of databases you want to trace.
Regards,
IgorMi
Igor Micev,My blog: www.igormicev.com