VSTraceLog.exe under "Microsoft Visual Studio 10.0\Team Tools\TraceDebugger Tools" could be what you are looking for.
VSTraceLog.exe /? to get the different options.
A simple example: VSTracelog.exe launch /cp:CollectionPlan.xml /f:logfilename.tdlog TheExecutableToLog.exe
You'll want to copy the file "Microsoft Visual Studio 10.0\Team Tools\TraceDebugger Tools\en\CollectionPlan.xml" to a known location and modify it. Open the XML file and find "DiagnosticEventInstrumentation" set the enabled attribute to true. Optionally you can enable "TraceInstrumentation" as well. Enabling TraceInstrumentation would be like enabling Tools->Options->IntelliTrace->events and call information.