This series of patches introduces the second part of the C API used by the Qt-based version of KernelShark. This part of the API is responsible for the visual navigation and browsing inside the trace data. This is the third version of this series of patches. Major changes from v2 are: [old 1/7] The "Changes type of the fields" is now a separate patch and isn't part of this series. [1/7] As suggested by Steven Rostedt, the binary search functions are modified in order to avoid the ambiguity of the returned value in the case when no kshark_entry has been found inside the range. [2/7] The change above affects the logic in ksmodel_set_lower_edge(), ksmodel_set_upper_edge() and ksmodel_set_next_bin_edge(). [4/7] General revision (debugging and simplification) of the logic, responsible for mapping the primary data request into a list of collection-compatible data requests. Yordan Karadzhov (VMware) (6): kernel-shark-qt: Add generic instruments for searching inside the trace data kernel-shark-qt: Introduce the visualization model used by the Qt-based KS kernel-shark-qt: Add an example showing how to manipulate the Vis. model. kernel-shark-qt: Define Data collections kernel-shark-qt: Make the Vis. model use Data collections. kernel-shark-qt: Changed the KernelShark version identifier. kernel-shark-qt/CMakeLists.txt | 2 +- kernel-shark-qt/examples/CMakeLists.txt | 4 + kernel-shark-qt/examples/datahisto.c | 159 +++ kernel-shark-qt/src/CMakeLists.txt | 4 +- kernel-shark-qt/src/libkshark-collection.c | 805 +++++++++++++ kernel-shark-qt/src/libkshark-model.c | 1223 ++++++++++++++++++++ kernel-shark-qt/src/libkshark-model.h | 159 +++ kernel-shark-qt/src/libkshark.c | 278 +++++ kernel-shark-qt/src/libkshark.h | 172 +++ 9 files changed, 2804 insertions(+), 2 deletions(-) create mode 100644 kernel-shark-qt/examples/datahisto.c create mode 100644 kernel-shark-qt/src/libkshark-collection.c create mode 100644 kernel-shark-qt/src/libkshark-model.c create mode 100644 kernel-shark-qt/src/libkshark-model.h -- 2.17.1