As suggested by Luiz, I'm posting this set of documentation patches that elucidate for proposed QMP interfaces for tracing.
QMP commands : * trace-event : to toggle state of a trace-event. * set-trace-file : to set a new output file for tracing; enable/disable writing traces to file; flush buffer contents to file. * Query Commands : ------------------ * query-trace : to list current contents of trace buffer that havent been written to file. * query-trace-events : to list all available trace-events and their status. * query-trace-file : to display currently set trace file and its status. -- Prerna Saxena Linux Technology Centre, IBM Systems and Technology Lab, Bangalore, India