From d802d561c4a2a4456403d572da75e73032d48d91 Mon Sep 17 00:00:00 2001 From: Douglas Adler Date: Tue, 4 Apr 2023 09:37:38 -0500 Subject: [PATCH 1/3] Development (#10) * Test for crash on exit Signed-off-by: Douglas Adler * Test for crash on exit Signed-off-by: Douglas Adler --------- Signed-off-by: Douglas Adler --- rdkperf/rdk_perf.cpp | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/rdkperf/rdk_perf.cpp b/rdkperf/rdk_perf.cpp index 7b8c21b..37bb00e 100644 --- a/rdkperf/rdk_perf.cpp +++ b/rdkperf/rdk_perf.cpp @@ -209,20 +209,30 @@ static void PerfModuleInit() // using __attribute__((destructor)) static void PerfModuleTerminate() { + if(s_timer != NULL) { + s_timer->StopTask(); + } + pid_t pID = getpid(); LOG(eWarning, "RDK Performance process terminate %X\n", pID); + +#if 0 // No need to print report on process exit // Print report RDKPerf_ReportProcess(pID); +#endif + // Remove prosess from list RDKPerf_RemoveProcess(pID); + // Wait for timer thread cleanup if(s_thread != NULL && s_thread->joinable()) { LOG(eWarning, "Cleaning up timer thread\n"); - s_timer->StopTask(); s_thread->join(); + delete s_thread; - delete s_timer; + if(s_timer != NULL) delete s_timer; + s_thread = NULL; s_timer = NULL; } From 81d2709c6dbb47ef4459c60262a3910573497d64 Mon Sep 17 00:00:00 2001 From: rdkcmf Date: Tue, 24 Jun 2025 15:03:01 +0100 Subject: [PATCH 2/3] Deploy cla action --- .github/workflows/cla.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/cla.yml diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 0000000..0550479 --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,13 @@ +name: "CLA" +on: + issue_comment: + types: [created] + pull_request_target: + types: [opened,closed,synchronize] + +jobs: + CLA-Lite: + name: "Signature" + uses: rdkcentral/cmf-actions/.github/workflows/cla.yml@main + secrets: + PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ASSISTANT }} \ No newline at end of file From c350ea7c2a6bb38b9c8b94c3a83a63aefdb10b74 Mon Sep 17 00:00:00 2001 From: rdkcmf Date: Thu, 25 Sep 2025 18:26:22 +0100 Subject: [PATCH 3/3] Deploy cla action --- .github/workflows/cla.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 0550479..c58b1b0 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -1,13 +1,20 @@ name: "CLA" + +permissions: + contents: read + pull-requests: write + actions: write + statuses: write + on: issue_comment: types: [created] pull_request_target: - types: [opened,closed,synchronize] + types: [opened, closed, synchronize] jobs: CLA-Lite: name: "Signature" - uses: rdkcentral/cmf-actions/.github/workflows/cla.yml@main + uses: rdkcentral/cmf-actions/.github/workflows/cla.yml@v1 secrets: - PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ASSISTANT }} \ No newline at end of file + PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ASSISTANT }}