{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":340368235,"defaultBranch":"master","name":"dlt-daemon","ownerLogin":"alexmohr","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2021-02-19T12:51:39.000Z","ownerAvatar":"https://github.com/avatars/u/4541068?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1694777319.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"f2ec9a54dab5d239cfa12fb940f8480b72bf7482","ref":"refs/heads/fix-timeout","pushedAt":"2023-09-15T11:28:39.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"connection: close connection when timeout cannot be set\n\nif a client disconnects at exactly the wrong time\nwe do not set a propper timeout for the socket\nand do not disconnect the client either.\nthis commit removes the client connection\nwhen setting the timeout failed.\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"connection: close connection when timeout cannot be set"}},{"before":"a0594c53a7bb29ff5bce0eafe0785ae27546cbf9","after":"5be6739895b3de93cb38d3abcc50a76051f717d0","ref":"refs/heads/disable-network-trace","pushedAt":"2023-08-09T09:44:48.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"cmake: disable network trace\n\nAdd cmake toggle to disable network trace.\nDisable network trace for QNX and yocto.\nDeactivate DLT_TRACE_NETWORK_SEGMENTED macro\nvia an empty dlt_user_trace_network_segmented\nfunction to support someip build.\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"cmake: disable network trace"}},{"before":"875e479304406251fa32c5315aa11d3db588b391","after":"5bbd33cfad0fa314cc33564e9d207f0350026be4","ref":"refs/heads/dlt-system-performance","pushedAt":"2023-07-24T09:50:51.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"dlt-system: move journal reading to its own thread\n\nReading from journal uses an endless loop which only exits\nwhen no new messages are read from the journal.\nThis is a problem when the local buffer of the application\ngets filled i.e. due dlt-daemon being busy and not accepting\ncurrent messages.\nIn this case the thread waits for 500ms and tries again to\nread messages from the journal.\nWhen new messages are available they also will be written to dlt.\nIf this cycle continues for a while it is possible that other tasks,\nwhich use the same thread and are controlled via a timer, are not\nexecuted anymore as the funtion `get_journal_msg` will not exit.\nThis will lead to termination through the systemd watchdog,\nas sd_notify is not called anymore.\nTo circumvent this issue, reading logs from journald is moved\ninto a separate thread.\n\nFurthermore this commit fixes some invalid free when no configuration\nis passed to dlt-system as well as adding missing initialization which\nalso can lead to crashes.\nAlthough these issues are not responsible for the crash on the system,\nas they will only happen on application shutdown.\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"dlt-system: move journal reading to its own thread"}},{"before":"bce72528bc7fc5271ce142fe4111c04c892be66c","after":"6f488173120ae552a5f8d90fa8e854ee8c7cbb51","ref":"refs/heads/improve-qnx-slog","pushedAt":"2023-06-14T11:44:38.440Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"dlt-qnx-system: prevent message loss in high load situations\n\n* Add wait method, which waits up to 5 seconds for buffer space\n to become available.\n This method tries to flush the buffer via tcp every 10ms.\n An error will be logged when there was not enough space.\n The error shows up in dlt to simplify debugging.\n* improve cmake that more qnx compilers are detected\n* log missing context mapping only once, this greatly reduces\n noise and the load of the system, as previously the\n message was logged with every log of an unmapped application\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"dlt-qnx-system: prevent message loss in high load situations"}},{"before":"d20b1b40633b52e58218fd3d9f8e96c38627d6c9","after":"409eb1e23af3c0daf7867d2c9f87198a2fe7eec2","ref":"refs/heads/fix-pthread-cond-wait-usage","pushedAt":"2023-06-14T09:51:29.402Z","pushType":"push","commitsCount":1,"pusher":{"login":"michael-methner","name":null,"path":"/michael-methner","primaryAvatarUrl":"https://github.com/avatars/u/13447212?s=80&v=4"},"commit":{"message":"Remove unneccesary mutex log","shortMessageHtmlLink":"Remove unneccesary mutex log"}},{"before":null,"after":"e459a458cbd6e3c781cb404c40f1e41f2157a02d","ref":"refs/heads/with-systemd-build","pushedAt":"2023-06-05T07:38:48.879Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"Update CMakeLists.txt\n\nLink systemd libraries, to avoid underlinking of tests with\n-DWITH_SYSTEMD_SOCKET_ACTIVATION=ON\n\n[ 82%] Linking CXX executable gtest_dlt_daemon_gateway\ncd dlt-daemon-2.18.9/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/gtest_dlt_daemon_gateway.dir/link.txt --verbose=1\n/usr/bin/c++ -g -O2 -ffile-prefix-map=dlt-daemon-2.18.9=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -isystem /include -std=gnu++0x -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -rdynamic CMakeFiles/gtest_dlt_daemon_gateway.dir/gtest_dlt_daemon_gateway.cpp.o CMakeFiles/gtest_dlt_daemon_gateway.dir/__/systemd/3rdparty/sd-daemon.c.o -o gtest_dlt_daemon_gateway -Wl,-rpath,dlt-daemon-2.18.9/obj-x86_64-linux-gnu/src/daemon ../src/daemon/libdlt_daemon.so /usr/lib/x86_64-linux-gnu/libgtest.a /usr/lib/x86_64-linux-gnu/libgtest_main.a -lrt /usr/lib/x86_64-linux-gnu/libgtest.a\n/usr/bin/ld: ../src/daemon/libdlt_daemon.so: undefined reference to `sd_listen_fds_with_names'\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"Update CMakeLists.txt"}},{"before":"911d543f916f9594b2fc85a18c30e09d8a75400c","after":"d20b1b40633b52e58218fd3d9f8e96c38627d6c9","ref":"refs/heads/fix-pthread-cond-wait-usage","pushedAt":"2023-05-31T14:47:08.894Z","pushType":"push","commitsCount":1,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"startup: check housekeeper thread every 500ms\n\nthis commit makes sure that we do not wait\nfor up to 10s if we missed the signal\nfor the condition variable the first time\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"startup: check housekeeper thread every 500ms"}},{"before":null,"after":"911d543f916f9594b2fc85a18c30e09d8a75400c","ref":"refs/heads/fix-pthread-cond-wait-usage","pushedAt":"2023-05-25T13:49:52.683Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"fix usage of pthread_cond_timedwait\n\npthread_cond_timedwait has to be called with a locked mutex\nusing an unlocked mutex is undefined behaviour\nalthough it works on many platforms\n\nSigned-off-by: Alexander Mohr \n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"fix usage of pthread_cond_timedwait"}},{"before":"568ecabca6cccef66d19d85405b339464b7b1c5f","after":"875e479304406251fa32c5315aa11d3db588b391","ref":"refs/heads/dlt-system-performance","pushedAt":"2023-05-25T07:04:26.810Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"dlt-system: move journal reading to its own thread\n\nReading from journal uses an endless loop which only exits\nwhen no new messages are read from the journal.\nThis is a problem when the local buffer of the application\ngets filled i.e. due dlt-daemon being busy and not accepting\ncurrent messages.\nIn this case the thread waits for 500ms and tries again to\nread messages from the journal.\nWhen new messages are available they also will be written to dlt.\nIf this cycle continues for a while it is possible that other tasks,\nwhich use the same thread and are controlled via a timer, are not\nexecuted anymore as the funtion `get_journal_msg` will not exit.\nThis will lead to termination through the systemd watchdog,\nas sd_notify is not called anymore.\nTo circumvent this issue, reading logs from journald is moved\ninto a separate thread.\n\nFurthermore this commit fixes some invalid free when no configuration\nis passed to dlt-system as well as adding missing initialization which\nalso can lead to crashes.\nAlthough these issues are not responsible for the crash on the system,\nas they will only happen on application shutdown.\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"dlt-system: move journal reading to its own thread"}},{"before":"8e612f3d0f564b9576252910b257d002bef8f810","after":"bce72528bc7fc5271ce142fe4111c04c892be66c","ref":"refs/heads/improve-qnx-slog","pushedAt":"2023-05-25T07:00:30.043Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"dlt-qnx-system: prevent message loss in high load situations\n\n* Add wait method, which waits up to 5 seconds for buffer space\n to become available.\n This method tries to flush the buffer via tcp every 10ms.\n An error will be logged when there was not enough space.\n The error shows up in dlt to simplify debugging.\n* improve cmake that more qnx compilers are detected\n* log missing context mapping only once, this greatly reduces\n noise and the load of the system, as previously the\n message was logged with every log of an unmapped application\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"dlt-qnx-system: prevent message loss in high load situations"}},{"before":null,"after":"8e612f3d0f564b9576252910b257d002bef8f810","ref":"refs/heads/improve-qnx-slog","pushedAt":"2023-05-25T06:57:58.702Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"dlt-qnx-system: prevent message loss in high load situations\n\nAdd wait method, which waits up to 5 seconds for buffer space\nto become available.\nThis method tries to flush the buffer via tcp every 10ms.\nAn error will be logged when there was not enough space.\nThe error shows up in dlt to simplify debugging.\nAlso improve cmake that more qnx compilers are detected\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"dlt-qnx-system: prevent message loss in high load situations"}},{"before":"acf080bc3abe7788c69f52e89315b0bbe30f1f7b","after":"1271c85c2b0bb0ce201a19fd9b2cc28725886c02","ref":"refs/heads/log-level-config","pushedAt":"2023-05-23T12:00:11.700Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"log-level-config: add option to configure log levels\n\nThe default log level can now be overwritten with\na different level stored in a configuration file.\nLevels can be set for all ctid's of an apid\nor only selected ctids\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"log-level-config: add option to configure log levels"}},{"before":"4dda234117ee618f7c223008f6ea00f406cdb8b6","after":"acf080bc3abe7788c69f52e89315b0bbe30f1f7b","ref":"refs/heads/log-level-config","pushedAt":"2023-05-23T08:29:47.296Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"log-level-config: add option to configure log levels\n\nThe default log level can now be overwritten with\na different level stored in a configuration file.\nLevels can be set for all ctid's of an apid\nor only selected ctids\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"log-level-config: add option to configure log levels"}},{"before":"5f1aef64695a6b75551e65fe3f8f2872aa7e886b","after":"4dda234117ee618f7c223008f6ea00f406cdb8b6","ref":"refs/heads/log-level-config","pushedAt":"2023-05-23T08:24:43.137Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"log-level-config: add option to configure log levels\n\nThe default log level can now be overwritten with\na different level stored in a configuration file.\nLevels can be set for all ctid's of an apid\nor only selected ctids\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"log-level-config: add option to configure log levels"}},{"before":"d7ac9625f8a65dd0a6953bfa841c2820ee383a23","after":"5a234b7995b604b716f879050248519b21683139","ref":"refs/heads/improve-watchdog","pushedAt":"2023-05-17T14:54:50.364Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"watchdog: improve dlt watchdog\n\n* watchdog can be configured to notify systemd\n only if messages are received\n* this can activated via -DWITH_SYSTEMD_WATCHDOG_ENFORCE_MSG_RX=ON\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"watchdog: improve dlt watchdog"}},{"before":"61d48614b9e341645b56059928dd4f306b08c2d0","after":"d7ac9625f8a65dd0a6953bfa841c2820ee383a23","ref":"refs/heads/improve-watchdog","pushedAt":"2023-05-17T14:51:05.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"watchdog: improve dlt watchdog\n\n* watchdog can be configured to notify systemd\n only if messages are received\n* this can activated via -DWITH_SYSTEMD_WATCHDOG_ENFORCE_MSG_RX=ON\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"watchdog: improve dlt watchdog"}},{"before":"5bc73b7008eccd2e9f146d1fbc02effa7303f827","after":"5f1aef64695a6b75551e65fe3f8f2872aa7e886b","ref":"refs/heads/log-level-config","pushedAt":"2023-05-17T14:45:30.424Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"log-level-config: add option to configure log levels\n\nThe default log level can now be overwritten with\na different level stored in a configuration file.\nLevels can be set for all ctid's of an apid\nor only selected ctids\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"log-level-config: add option to configure log levels"}},{"before":"6db855b24fa1ff8b1579f376d228e9dc42efcf00","after":"61d48614b9e341645b56059928dd4f306b08c2d0","ref":"refs/heads/improve-watchdog","pushedAt":"2023-05-17T14:41:39.014Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"watchdog: improve dlt watchdog\n\n* watchdog can be configured to notify systemd\n only if messages are received\n* this can activated via -DWITH_SYSTEMD_WATCHDOG_ENFORCE_MSG_RX=ON\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"watchdog: improve dlt watchdog"}},{"before":"b79988c847aed3ce8d9031bb8345f4d560bbb093","after":"5bc73b7008eccd2e9f146d1fbc02effa7303f827","ref":"refs/heads/log-level-config","pushedAt":"2023-05-17T09:33:47.001Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"log-level-config: add option to configure log levels\n\nThe default log level can now be overwritten with\na different level stored in a configuration file.\nLevels can be set for all ctid's of an apid\nor only selected ctids\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"log-level-config: add option to configure log levels"}},{"before":"88d63a4e14ed2be47e3c35621b2bdfaa56e6e456","after":"b79988c847aed3ce8d9031bb8345f4d560bbb093","ref":"refs/heads/log-level-config","pushedAt":"2023-05-17T07:23:41.902Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"log-level-config: add option to configure log levels\n\nThe default log level can now be overwritten with\na different level stored in a configuration file.\nLevels can be set for all ctid's of an apid\nor only selected ctids\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"log-level-config: add option to configure log levels"}},{"before":"0625559a195d782e7a555027ef5bf38dae9dc705","after":"88d63a4e14ed2be47e3c35621b2bdfaa56e6e456","ref":"refs/heads/log-level-config","pushedAt":"2023-05-16T06:59:28.840Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"log-level-config: add option to configure log levels\n\nThe default log level can now be overwritten with\na different level stored in a configuration file.\nLevels can be set for all ctid's of an apid\nor only selected ctids\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"log-level-config: add option to configure log levels"}},{"before":null,"after":"95081939c4af8ed253f0d10b1e239153ab45b11c","ref":"refs/heads/fix-yocto-build","pushedAt":"2023-04-27T19:40:31.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"build: add static lib only if necessary\n\nadding static library should only be enabled\nif the dlt library is build static.\nAdding this to the automotive-dlt.pc.in\nwhen static libraries are disabled\nyocto build will break\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"build: add static lib only if necessary"}},{"before":null,"after":"b42a8b7270b53d30aab1535e00aaa874332f04b7","ref":"refs/heads/fix-version","pushedAt":"2023-04-26T13:21:08.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"cmake: set version to 2.18.9\n\nthis version will be used to create filenames etc\nand should reflect the current version\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"cmake: set version to 2.18.9"}},{"before":"ee116a2e4f78dfde64477f9fa462ef5a7baa1750","after":"a0594c53a7bb29ff5bce0eafe0785ae27546cbf9","ref":"refs/heads/disable-network-trace","pushedAt":"2023-04-26T09:22:13.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"cmake: disable network trace\n\nAdd cmake toggle to disable network trace.\nDisable network trace for QNX and yocto.\nDeactivate DLT_TRACE_NETWORK_SEGMENTED macro\nvia an empty dlt_user_trace_network_segmented\nfunction to support someip build.\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"cmake: disable network trace"}},{"before":"7686e448690ff7cabd4a39b1641eaf976afc943f","after":"ee116a2e4f78dfde64477f9fa462ef5a7baa1750","ref":"refs/heads/disable-network-trace","pushedAt":"2023-04-25T16:42:07.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"cmake: disable network trace\n\nAdd cmake toggle to disable network trace.\nDisable network trace for QNX and yocto.\nDeactivate DLT_TRACE_NETWORK_SEGMENTED macro\nvia an empty dlt_user_trace_network_segmented\nfunction to support someip build.\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"cmake: disable network trace"}},{"before":null,"after":"7686e448690ff7cabd4a39b1641eaf976afc943f","ref":"refs/heads/disable-network-trace","pushedAt":"2023-04-25T16:41:44.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"cmake: disable network trace\n\nAdd cmake toggle to disable network trace.\nDisable network trace for QNX and yocto.\nDeactivate DLT_TRACE_NETWORK_SEGMENTED macro\nvia an empty dlt_user_trace_network_segmented\nfunction to support someip build.\n\nIssue-ID: APRICOT-174181\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"cmake: disable network trace"}},{"before":"68f0d45f3c484645d922d8646beb7daa5924a0af","after":"1b7fe4a6c140bfdb1a421d5cdf563f1fb179f86a","ref":"refs/heads/add-buffer-resize-method","pushedAt":"2023-04-25T15:42:25.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"dltuser: add method to configure ring buffer size per application.\n\nLogs of applications are kept in a ring buffer.\nEach application (ie user) using logging functionality\nof dlt-daemon should be allowed to write\nto ring buffer a limited asize of logs not to exceed\nlimits available in terms of memory and performance.\nThis patch is useful for upstream.\nBecause, first, the ability of limiting logs\nof each application will make the use of system memory\nresources without exceeding the overall capacity limits.\nSecondly the logs of each pplication will be limited\nas a guard to excessive logging - ie logging in\nfor loops- which could not easily\nbe determined since most of them occur in extreme conditions.\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"dltuser: add method to configure ring buffer size per application."}},{"before":null,"after":"68f0d45f3c484645d922d8646beb7daa5924a0af","ref":"refs/heads/add-buffer-resize-method","pushedAt":"2023-04-25T15:40:39.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"dltuser: add method to configure ring buffer size per application.\n\nLogs of applications are kept in a ring buffer.\nEach application (ie user) using logging functionality\nof dlt-daemon should be allowed to write\nto ring buffer a limited asize of logs not to exceed\nlimits available in terms of memory and performance.\nThis patch is useful for upstream.\nBecause, first, the ability of limiting logs\nof each application will make the use of system memory\nresources without exceeding the overall capacity limits.\nSecondly the logs of each pplication will be limited\nas a guard to excessive logging - ie logging in\nfor loops- which could not easily\nbe determined since most of them occur in extreme conditions.\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"dltuser: add method to configure ring buffer size per application."}},{"before":"053b6b142586ac1e51aa2968a02fd8934b1a86f3","after":"568ecabca6cccef66d19d85405b339464b7b1c5f","ref":"refs/heads/dlt-system-performance","pushedAt":"2023-04-25T11:41:05.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"dlt-system: move journal reading to its own thread\n\nReading from journal uses an endless loop which only exits\nwhen no new messages are read from the journal.\nThis is a problem when the local buffer of the application\ngets filled i.e. due dlt-daemon being busy and not accepting\ncurrent messages.\nIn this case the thread waits for 500ms and tries again to\nread messages from the journal.\nWhen new messages are available they also will be written to dlt.\nIf this cycle continues for a while it is possible that other tasks,\nwhich use the same thread and are controlled via a timer, are not\nexecuted anymore as the funtion `get_journal_msg` will not exit.\nThis will lead to termination through the systemd watchdog,\nas sd_notify is not called anymore.\nTo circumvent this issue, reading logs from journald is moved\ninto a separate thread.\n\nFurthermore this commit fixes some invalid free when no configuration\nis passed to dlt-system as well as adding missing initialization which\nalso can lead to crashes.\nAlthough these issues are not responsible for the crash on the system,\nas they will only happen on application shutdown.\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"dlt-system: move journal reading to its own thread"}},{"before":"3eefe47ba29d02e20d9517a869f843711abef179","after":"053b6b142586ac1e51aa2968a02fd8934b1a86f3","ref":"refs/heads/dlt-system-performance","pushedAt":"2023-04-25T11:38:42.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"alexmohr","name":"Alexander Mohr","path":"/alexmohr","primaryAvatarUrl":"https://github.com/avatars/u/4541068?s=80&v=4"},"commit":{"message":"dlt-system: move journal reading to its own thread\n\nReading from journal uses an endless loop which only exits\nwhen no new messages are read from the journal.\nThis is a problem when the local buffer of the application\ngets filled i.e. due dlt-daemon being busy and not accepting\ncurrent messages.\nIn this case the thread waits for 500ms and tries again to\nread messages from the journal.\nWhen new messages are available they also will be written to dlt.\nIf this cycle continues for a while it is possible that other tasks,\nwhich use the same thread and are controlled via a timer, are not\nexecuted anymore as the funtion `get_journal_msg` will not exit.\nThis will lead to termination through the systemd watchdog,\nas sd_notify is not called anymore.\nTo circumvent this issue, reading logs from journald is moved\ninto a separate thread.\n\nFurthermore this commit fixes some invalid free when no configuration\nis passed to dlt-system as well as adding missing initialization which\nalso can lead to crashes.\nAlthough these issues are not responsible for the crash on the system,\nas they will only happen on application shutdown.\n\nSigned-off-by: Alexander Mohr ","shortMessageHtmlLink":"dlt-system: move journal reading to its own thread"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyMy0wOS0xNVQxMToyODozOS4wMDAwMDBazwAAAAOBY5h3","startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wOS0xNVQxMToyODozOS4wMDAwMDBazwAAAAOBY5h3","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNC0yNVQxMTozODo0Mi4wMDAwMDBazwAAAAMfx3RU"}},"title":"Activity ยท alexmohr/dlt-daemon"}