The patch-set contains reimplementation (almost from scratch) of patches that have been sent already. The aims is to optimize the workflow of the user when running the application from its build (source code) location or installation location. Changes in v2: - Patches 6, 7 and 8 are new and are based on the suggestions made by Troy Engel in his review of v1. Yordan Karadzhov (8): kernel-shark: Add INSTALL PREFIX to the Cmake-generated header file. kernel-shark: Add logic for the initial path of Open-File dialogs kernel-shark: Add logic for the plugins search path kernel-shark: Remove the definition of KS_DIR kernel-shark: Remember the paths used by the Open-File dialogs. kernel-shark: Add logic for selecting the trace-cmd executable used kernel-shark: Remove hard-coded install paths for libraries and plugins kernel-shark: Use XDG compliant path when saving cached data kernel-shark/CMakeLists.txt | 7 +- kernel-shark/build/deff.h.cmake | 7 +- kernel-shark/src/CMakeLists.txt | 12 +- kernel-shark/src/KsCaptureDialog.cpp | 41 +++--- kernel-shark/src/KsCaptureDialog.hpp | 2 + kernel-shark/src/KsMainWindow.cpp | 87 ++++++------- kernel-shark/src/KsMainWindow.hpp | 6 +- kernel-shark/src/KsUtils.cpp | 161 ++++++++++++++++++++++-- kernel-shark/src/KsUtils.hpp | 21 ++++ kernel-shark/src/plugins/CMakeLists.txt | 3 +- 10 files changed, 255 insertions(+), 92 deletions(-) -- 2.20.1
![]() |