Skip to content
  • Arnaldo Carvalho de Melo's avatar
    perf trace: Allow selecting use the use of the ordered_events code · a761a8d1
    Arnaldo Carvalho de Melo authored
    I was trigger happy on this one, as using ordered_events as implemented
    by Jiri for use with the --block code under discussion on lkml incurs
    in delaying processing to form batches that then get ordered and then
    printed.
    
    With 'perf trace' we want to process the events as they go, without that
    delay, and doing it that way works well for the common case which is to
    trace a thread or a workload started by 'perf trace'.
    
    So revert back to not using ordered_events but add an option to select
    that mode so that users can experiment with their particular use case to
    see if works better, i.e. if the added delay is not a problem and the
    ordering helps.
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Link: https://lkml.kernel.org/n/tip-8ki7sld6rusnjhhtaly26i5o@git.kernel.org
    
    
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    a761a8d1