This patch set introduces three QMP query interfaces for tracing : * query-trace : to list current contents of trace-buffer * query-trace-events : to list all available trace-events with their state. * query-trace-file : to list currently set trace-file with its status.
Changelog : ----------- Changes v3 -> v4 : - Add 'query-trace-file' interface to query currently active trace-file. - Cleanup. Changes v2 -> v3 : - Change declarations of st_print_trace_to_qlist() and st_print_trace_events_to_qlist() to return QList* Changes v1 -> v2 : - Add 'timestamp' field for query-trace output. - Misc cleanups. -- Prerna Saxena Linux Technology Centre, IBM Systems and Technology Lab, Bangalore, India