These two patches aim to restore the log(n) time complexity of the latency plotting, by adding Data Collections for Sched events. Steven, please try playing with this modification before applying it. If you can test this, when doing some real work this would be great. Yordan Karadzhov (2): kernel-shark-qt: Add a method for adding a new collection to a list kernel-shark-qt: Make Sched event plugin use its own data collections kernel-shark-qt/src/libkshark-collection.c | 45 ++++++++++++++++++++- kernel-shark-qt/src/libkshark.c | 1 + kernel-shark-qt/src/libkshark.h | 9 +++++ kernel-shark-qt/src/plugins/SchedEvents.cpp | 33 ++++++--------- kernel-shark-qt/src/plugins/sched_events.c | 21 ++++++++++ kernel-shark-qt/src/plugins/sched_events.h | 6 +++ 6 files changed, 93 insertions(+), 22 deletions(-) -- 2.17.1