Skip to content
Merged
Show file tree
Hide file tree
Changes from 85 commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
06a9f47
RDK-60312: Remove fork calls for curl transactions
Jan 23, 2026
25c51c4
RDK-60312: Remove fork calls for curl transactions
Jan 23, 2026
0a31946
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 23, 2026
1c419a4
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 27, 2026
1eeee8a
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 28, 2026
3259189
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 28, 2026
0346bc9
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 28, 2026
8683bd2
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 29, 2026
f84a6be
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
ba774cb
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
552fb64
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
df7e92b
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
b490801
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
cc62bc9
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
120ed9c
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
8d34615
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
ca9478b
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 31, 2026
e94bd2e
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 31, 2026
619f015
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 31, 2026
b621390
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 31, 2026
40b2646
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
6b34ea7
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
943940f
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
1d6ec18
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
3a77a62
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
7e99f61
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
1bc6a89
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
167bb69
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
3ecd581
RDK-60312: Remove fork calls for curl transactions
Jan 23, 2026
7dbb6cb
RDK-60312: Remove fork calls for curl transactions
Jan 23, 2026
c19d0af
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 23, 2026
3dda977
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 27, 2026
0920158
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 28, 2026
1298fbc
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 28, 2026
c1e85a0
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 28, 2026
433c935
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 29, 2026
45c62c3
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
6d5cb02
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
8d239f7
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
192bcea
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
8df9ca9
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
9ff0926
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
bfcbdb8
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
b51e342
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 30, 2026
27e86ee
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 31, 2026
80c61ad
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 31, 2026
9f3cc43
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 31, 2026
b52f679
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Jan 31, 2026
388b162
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
1ae9306
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
4cad6e8
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
aa2263a
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
0b5fc69
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
bac014b
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
e1bb7d5
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
5467dc8
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 2, 2026
f7f79a8
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 3, 2026
efe3bb7
Merge branch 'feature/RDK-60312' of https://github.com/rdkcentral/tel…
yogeswaransky Feb 3, 2026
cda326e
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 3, 2026
86d21a9
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 3, 2026
a95d5d8
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 3, 2026
143f6cb
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 3, 2026
4411533
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 3, 2026
74fb3ac
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 3, 2026
279ec6f
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 3, 2026
0a8abaa
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 3, 2026
ff5b90d
Merge branch 'develop' into feature/RDK-60312
shibu-kv Feb 3, 2026
8ebcc72
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 4, 2026
6728210
Merge branch 'feature/RDK-60312' of https://github.com/rdkcentral/tel…
yogeswaransky Feb 4, 2026
91d5910
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 4, 2026
d01a71a
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 4, 2026
9687bcc
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 4, 2026
87e3dd6
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 4, 2026
fb7a691
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 4, 2026
c3064fe
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 4, 2026
8fcd631
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 4, 2026
665a1ab
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 4, 2026
e62ad8f
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 4, 2026
7b6ba31
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 5, 2026
0a18e27
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 5, 2026
aa5751d
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 5, 2026
7e236cf
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 5, 2026
60e1482
RDK-60312: Remove fork calls for curl transactions
yogeswaransky Feb 6, 2026
bdaf017
RDK-63143: Remove fork calls for curl transactions
yogeswaransky Feb 6, 2026
b22f4b5
RDK-63143: Remove fork calls for curl transactions
yogeswaransky Feb 6, 2026
19ead72
RDK-63143: Remove fork calls for curl transactions
yogeswaransky Feb 6, 2026
2d2ead2
RDK-63143: Remove fork calls for curl transactions
yogeswaransky Feb 6, 2026
f318099
RDK-63143: Remove fork calls for curl transactions
yogeswaransky Feb 6, 2026
c521572
RDK-63143: Remove fork calls for curl transactions
yogeswaransky Feb 6, 2026
7b7fbf7
RDK-63143: Remove fork calls for curl transactions
yogeswaransky Feb 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions source/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,17 @@ telemetry2_0_LDFLAGS += -lwebconfig_framework
telemetry2_0_CFLAGS += -DFEATURE_SUPPORT_WEBCONFIG
endif

if IS_LIBRDKCONFIG_ENABLED
telemetry2_0_LDFLAGS += -lrdkconfig
telemetry2_0_CFLAGS += $(LIBRDKCONFIG_FLAG)
endif

if IS_LIBRDKCERTSEL_ENABLED
telemetry2_0_LDFLAGS += -lRdkCertSelector
telemetry2_0_CFLAGS += $(LIBRDKCERTSEL_FLAG)
telemetry2_0_CFLAGS += -DENABLE_RDKB_SUPPORT
endif

if ENABLE_CCSP_SUPPORT
telemetry2_0_LDFLAGS+=-lccsp_common
telemetry2_0_SOURCES += t2ssp/ssp_main.c t2ssp/ssp_action.c t2ssp/ssp_messagebus_interface.c t2ssp/dm_pack_datamodel.c
Expand Down
4 changes: 2 additions & 2 deletions source/bulkdata/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ static void* CollectAndReport(void* data)
if(n == ETIMEDOUT)
{
T2Info("TIMEOUT for maxUploadLatency of profile %s\n", profile->name);
ret = sendReportOverHTTP(httpUrl, jsonReport, NULL);
ret = sendReportOverHTTP(httpUrl, jsonReport);
}
else
{
Expand Down Expand Up @@ -605,7 +605,7 @@ static void* CollectAndReport(void* data)
}
else
{
ret = sendReportOverHTTP(httpUrl, jsonReport, NULL);
ret = sendReportOverHTTP(httpUrl, jsonReport);
}
}
else
Expand Down
51 changes: 1 addition & 50 deletions source/bulkdata/profilexconf.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:

Check failure on line 3 in source/bulkdata/profilexconf.c

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'source/bulkdata/profilexconf.c' (Match: rdk/components/generic/telemetry/rdk/components/generic/telemetry/1, 984 lines, url: https://code.rdkcentral.com/r/plugins/gitiles/rdk/components/generic/telemetry/+archive/RDKB-RELEASE-TEST-DUNFELL-1.tar.gz, file: source/bulkdata/profilexconf.c)
*
* Copyright 2019 RDK Management
*
Expand Down Expand Up @@ -49,7 +49,6 @@
static pthread_cond_t reuseThread;
static bool reportThreadExits = false;

static pid_t xconfReportPid;
static bool isAbortTriggered = false ;
static bool isOnDemandReport = false ;

Expand Down Expand Up @@ -378,7 +377,7 @@
else
{
T2Debug("Abort upload is not yet set.\n");
ret = sendReportOverHTTP(profile->t2HTTPDest->URL, jsonReport, &xconfReportPid);
ret = sendReportOverHTTP(profile->t2HTTPDest->URL, jsonReport);
}

#ifdef PERSIST_LOG_MON_REF
Expand All @@ -395,7 +394,6 @@
}
#endif

xconfReportPid = -1 ;
if(ret == T2ERROR_FAILURE)
{
if(profile->cachedReportList != NULL && Vector_Size(profile->cachedReportList) >= MAX_CACHED_REPORTS)
Expand Down Expand Up @@ -989,50 +987,3 @@
return T2ERROR_SUCCESS;
}


T2ERROR ProfileXConf_terminateReport()
{

T2ERROR ret = T2ERROR_FAILURE;

pthread_mutex_lock(&plMutex);

if(!singleProfile)
{
T2Error("Xconf profile is not set.\n");

pthread_mutex_unlock(&plMutex);

return ret;
}

// Check whether any XconfReport is in progress
if(singleProfile->reportInProgress)
{
isAbortTriggered = true;
// Check if a child pid is still alive
if((xconfReportPid > 0) && !kill(xconfReportPid, 0))
{
T2Info("Report upload in progress, terminating the forked reporting child : %d \n", xconfReportPid);
if(!kill(xconfReportPid, SIGKILL))
{
ret = T2ERROR_SUCCESS;
}
}
else
{
T2Info(" Report upload has net yet started, set the abort flag \n");
ret = T2ERROR_SUCCESS;
}
}
else
{
T2Info("No report generation in progress. No further action required for abort.\n");
}

pthread_mutex_unlock(&plMutex);

return ret;

}

1 change: 0 additions & 1 deletion source/bulkdata/profilexconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ void ProfileXConf_updateMarkerComponentMap();
void ProfileXConf_notifyTimeout(bool isClearSeekMap, bool isOnDemand);
T2ERROR ProfileXConf_storeMarkerEvent(T2Event *eventInfo);
char* ProfileXconf_getName();
T2ERROR ProfileXConf_terminateReport();

T2ERROR ReportProfiles_setProfileXConf(ProfileXConf *profile);

Expand Down
9 changes: 2 additions & 7 deletions source/bulkdata/reportprofiles.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:

Check failure on line 3 in source/bulkdata/reportprofiles.c

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'source/bulkdata/reportprofiles.c' (Match: rdk/components/generic/telemetry/rdk/components/generic/telemetry/2102, 1453 lines, url: https://code.rdkcentral.com/r/plugins/gitiles/rdk/components/generic/telemetry/+archive/rdk-dev-2102.tar.gz, file: source/bulkdata/reportprofiles.c)
*
* Copyright 2019 RDK Management
*
Expand Down Expand Up @@ -433,8 +433,8 @@
}
else if(!strncmp(action, ON_DEMAND_ACTION_ABORT, MAX_PROFILENAMES_LENGTH))
{
T2Info("Abort report on demand \n");
ProfileXConf_terminateReport();
T2Info("Abort report on demand\n");
T2Info("Abort of the on-demand report is no longer supported; fork-based report execution and termination have been removed\n");
}
else
{
Expand Down Expand Up @@ -704,11 +704,6 @@
{
getMarkerCompRbusSub(false); // remove Rbus subscription
}
#ifdef LIBRDKCERTSEL_BUILD
curlCertSelectorFree();
#else
uninitMtls();
#endif
T2ER_Uninit();
destroyT2MarkerComponentMap();
uninitScheduler();
Expand Down
2 changes: 1 addition & 1 deletion source/protocol/http/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ AM_CFLAGS =

lib_LTLIBRARIES = libhttp.la

libhttp_la_SOURCES = curlinterface.c
libhttp_la_SOURCES = curlinterface.c multicurlinterface.c
libhttp_la_LDFLAGS = -shared -fPIC -lcurl
if IS_LIBRDKCERTSEL_ENABLED
libhttp_la_CFLAGS = $(LIBRDKCERTSEL_FLAG)
Expand Down
Loading
Loading