Skip to contentSkip to conversation

gstreamer: Adding tracer-hooks build flag to enable GST_TRACERS

PATCH In review Aniket Limaye 4 participants 8 messages Jun 29, 2022 – Jul 4, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gstreamer: Adding tracer-hooks build flag to enable GST_TRACERS

Enables GST_TRACERS : an optional utility for profiling gstreamer applications

---
 .../gstreamer/gstreamer1.0_1.16.%.bbappend                   | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend
meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend new file +5 -0
new file mode 100644
index 00000000..d7bdaa04
@@ -0,0 +1,5 @@
+
+PACKAGECONFIG_append = " tracer-hooks"
+
+PR_append = ".arago0"
+
Signature · 1 line
2.17.1
#1 lore raw

Prashanth,Prasanth,

Please review.

Quoted 1 line · Aniket Limaye

Enables GST_TRACERS : an optional utility for profiling gstreamer applications

Aniket,

1. What is the impact of this with codec performance?
2. Why is this optional utility need to enabled?

Quoted 18 lines
---
  .../gstreamer/gstreamer1.0_1.16.%.bbappend                   | 5 +++++
  1 file changed, 5 insertions(+)

create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend

meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend new file +5 -0
new file mode 100644
index 00000000..d7bdaa04
@@ -0,0 +1,5 @@
+
+PACKAGECONFIG_append = " tracer-hooks"
+
+PR_append = ".arago0"
+
#2 lore raw

+Karthik

Praneeth,

This is not specific to codec. This can be used for profiling latencies and such for any GStreamer elements. It should not impact performance either. It just prints latency logs if an environment variable is set, similar to GST_DEBUG.

-----Original Message-----
From: Bajjuri, Praneeth <[email protected]>
Sent: Thursday, June 30, 2022 3:29 PM
To: Limaye, Aniket <[email protected]>; [email protected]; Mantena, Prasanth <[email protected]>; [email protected]
Cc: Eatmon, Ryan <[email protected]>; Weaver, Lucas <[email protected]>
Subject: Re: [meta-arago][dunfell][PATCH] gstreamer: Adding tracer-hooks build flag to enable GST_TRACERS

Prashanth,Prasanth,

Please review.

Quoted 1 line · Aniket Limaye

Enables GST_TRACERS : an optional utility for profiling gstreamer applications

Aniket,

1. What is the impact of this with codec performance?
2. Why is this optional utility need to enabled?

Quoted 18 lines
---
  .../gstreamer/gstreamer1.0_1.16.%.bbappend                   | 5 +++++
  1 file changed, 5 insertions(+)

create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend

meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend new file +5 -0
new file mode 100644
index 00000000..d7bdaa04
@@ -0,0 +1,5 @@
+
+PACKAGECONFIG_append = " tracer-hooks"
+
+PR_append = ".arago0"
+
#3 lore raw

This is distro-specific configuration and should not be done in distro-agnostic meta-arago-extras layer.

Quoted 46 lines · Aniket Limaye via lists.yoctoproject.org

+Karthik

Praneeth,

This is not specific to codec. This can be used for profiling latencies and such for any GStreamer elements. It should not impact performance either. It just prints latency logs if an environment variable is set, similar to GST_DEBUG.

-----Original Message-----
From: Bajjuri, Praneeth <[email protected]>
Sent: Thursday, June 30, 2022 3:29 PM
To: Limaye, Aniket <[email protected]>; [email protected]; Mantena, Prasanth <[email protected]>; [email protected]
Cc: Eatmon, Ryan <[email protected]>; Weaver, Lucas <[email protected]>
Subject: Re: [meta-arago][dunfell][PATCH] gstreamer: Adding tracer-hooks build flag to enable GST_TRACERS

Prashanth,Prasanth,

Please review.

Quoted 1 line · Aniket Limaye

Enables GST_TRACERS : an optional utility for profiling gstreamer applications

Aniket,

1. What is the impact of this with codec performance?
2. Why is this optional utility need to enabled?

Quoted 18 lines
---
  .../gstreamer/gstreamer1.0_1.16.%.bbappend                   | 5 +++++
  1 file changed, 5 insertions(+)

create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend

meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend new file +5 -0
new file mode 100644
index 00000000..d7bdaa04
@@ -0,0 +1,5 @@
+
+PACKAGECONFIG_append = " tracer-hooks"
+
+PR_append = ".arago0"
+
#4 lore raw

So you're saying it should be in meta-arago-distro?

Quoted 50 lines · Denys Dmytriyenko

This is distro-specific configuration and should not be done in distro-agnostic meta-arago-extras layer.

Quoted 46 lines · Aniket Limaye via lists.yoctoproject.org

+Karthik

Praneeth,

This is not specific to codec. This can be used for profiling latencies and such for any GStreamer elements. It should not impact performance either. It just prints latency logs if an environment variable is set, similar to GST_DEBUG.

-----Original Message-----
From: Bajjuri, Praneeth <[email protected]>
Sent: Thursday, June 30, 2022 3:29 PM
To: Limaye, Aniket <[email protected]>; [email protected]; Mantena, Prasanth <[email protected]>; [email protected]
Cc: Eatmon, Ryan <[email protected]>; Weaver, Lucas <[email protected]>
Subject: Re: [meta-arago][dunfell][PATCH] gstreamer: Adding tracer-hooks build flag to enable GST_TRACERS

Prashanth,Prasanth,

Please review.

Quoted 1 line · Aniket Limaye

Enables GST_TRACERS : an optional utility for profiling gstreamer applications

Aniket,

1. What is the impact of this with codec performance?
2. Why is this optional utility need to enabled?

Quoted 18 lines
---
   .../gstreamer/gstreamer1.0_1.16.%.bbappend                   | 5 +++++
   1 file changed, 5 insertions(+)

create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend

meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend new file +5 -0
new file mode 100644
index 00000000..d7bdaa04
@@ -0,0 +1,5 @@
+
+PACKAGECONFIG_append = " tracer-hooks"
+
+PR_append = ".arago0"
+
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#5 lore raw

Correct. It could be a bbappend in meta-arago-distro, like the original patch, or it could be just added into meta-arago-distro/conf/distro/arago.conf like existing PACKAGECONFIG modifications there in lines 107-150:
https://git.yoctoproject.org/meta-arago/tree/meta-arago-distro/conf/distro/arago.conf#n107

Quoted 56 lines · Ryan Eatmon

So you're saying it should be in meta-arago-distro?

Quoted 50 lines · Denys Dmytriyenko

This is distro-specific configuration and should not be done in distro-agnostic meta-arago-extras layer.

Quoted 46 lines · Aniket Limaye via lists.yoctoproject.org

+Karthik

Praneeth,

This is not specific to codec. This can be used for profiling latencies and such for any GStreamer elements. It should not impact performance either. It just prints latency logs if an environment variable is set, similar to GST_DEBUG.

-----Original Message-----
From: Bajjuri, Praneeth <[email protected]>
Sent: Thursday, June 30, 2022 3:29 PM
To: Limaye, Aniket <[email protected]>; [email protected]; Mantena, Prasanth <[email protected]>; [email protected]
Cc: Eatmon, Ryan <[email protected]>; Weaver, Lucas <[email protected]>
Subject: Re: [meta-arago][dunfell][PATCH] gstreamer: Adding tracer-hooks build flag to enable GST_TRACERS

Prashanth,Prasanth,

Please review.

Quoted 1 line · Aniket Limaye

Enables GST_TRACERS : an optional utility for profiling gstreamer applications

Aniket,

1. What is the impact of this with codec performance?
2. Why is this optional utility need to enabled?

Quoted 18 lines
---
  .../gstreamer/gstreamer1.0_1.16.%.bbappend                   | 5 +++++
  1 file changed, 5 insertions(+)

create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend

meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend new file +5 -0
new file mode 100644
index 00000000..d7bdaa04
@@ -0,0 +1,5 @@
+
+PACKAGECONFIG_append = " tracer-hooks"
+
+PR_append = ".arago0"
+
#6 lore raw

Aniket,

I like the last option that Denys proposed. Adding it to the list in:

meta-arago-distro/conf/distro/arago.conf

That feels like the cleanest way of doing this. Do you have enough to make that change and submit a new patch?

Quoted 63 lines · Denys Dmytriyenko

Correct. It could be a bbappend in meta-arago-distro, like the original patch, or it could be just added into meta-arago-distro/conf/distro/arago.conf like existing PACKAGECONFIG modifications there in lines 107-150:
https://git.yoctoproject.org/meta-arago/tree/meta-arago-distro/conf/distro/arago.conf#n107

Quoted 56 lines · Ryan Eatmon

So you're saying it should be in meta-arago-distro?

Quoted 50 lines · Denys Dmytriyenko

This is distro-specific configuration and should not be done in distro-agnostic meta-arago-extras layer.

Quoted 46 lines · Aniket Limaye via lists.yoctoproject.org

+Karthik

Praneeth,

This is not specific to codec. This can be used for profiling latencies and such for any GStreamer elements. It should not impact performance either. It just prints latency logs if an environment variable is set, similar to GST_DEBUG.

-----Original Message-----
From: Bajjuri, Praneeth <[email protected]>
Sent: Thursday, June 30, 2022 3:29 PM
To: Limaye, Aniket <[email protected]>; [email protected]; Mantena, Prasanth <[email protected]>; [email protected]
Cc: Eatmon, Ryan <[email protected]>; Weaver, Lucas <[email protected]>
Subject: Re: [meta-arago][dunfell][PATCH] gstreamer: Adding tracer-hooks build flag to enable GST_TRACERS

Prashanth,Prasanth,

Please review.

Quoted 1 line · Aniket Limaye

Enables GST_TRACERS : an optional utility for profiling gstreamer applications

Aniket,

1. What is the impact of this with codec performance?
2. Why is this optional utility need to enabled?

Quoted 18 lines
---
   .../gstreamer/gstreamer1.0_1.16.%.bbappend                   | 5 +++++
   1 file changed, 5 insertions(+)

create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend

meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend new file +5 -0
new file mode 100644
index 00000000..d7bdaa04
@@ -0,0 +1,5 @@
+
+PACKAGECONFIG_append = " tracer-hooks"
+
+PR_append = ".arago0"
+
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#7 lore raw

Hi Ryan,

I have done the same and submitted a v2 patch here: https://lists.yoctoproject.org/g/meta-arago/message/13934

-----Original Message-----
From: Eatmon, Ryan <[email protected]>
Sent: Friday, July 1, 2022 3:41 AM
To: Denys Dmytriyenko <[email protected]>
Cc: Limaye, Aniket <[email protected]>; Bajjuri, Praneeth <[email protected]>; [email protected]; Mantena, Prasanth <[email protected]>; [email protected]; R, Karthik <[email protected]>; Weaver, Lucas <[email protected]>
Subject: Re: [meta-arago][dunfell][PATCH] gstreamer: Adding tracer-hooks build flag to enable GST_TRACERS

Aniket,

I like the last option that Denys proposed. Adding it to the list in:

meta-arago-distro/conf/distro/arago.conf

That feels like the cleanest way of doing this. Do you have enough to make that change and submit a new patch?

Quoted 63 lines · Denys Dmytriyenko

Correct. It could be a bbappend in meta-arago-distro, like the original patch, or it could be just added into meta-arago-distro/conf/distro/arago.conf like existing PACKAGECONFIG modifications there in lines 107-150:
https://git.yoctoproject.org/meta-arago/tree/meta-arago-distro/conf/distro/arago.conf#n107

Quoted 56 lines · Ryan Eatmon

So you're saying it should be in meta-arago-distro?

Quoted 50 lines · Denys Dmytriyenko

This is distro-specific configuration and should not be done in distro-agnostic meta-arago-extras layer.

Quoted 46 lines · Aniket Limaye via lists.yoctoproject.org

+Karthik

Praneeth,

This is not specific to codec. This can be used for profiling latencies and such for any GStreamer elements. It should not impact performance either. It just prints latency logs if an environment variable is set, similar to GST_DEBUG.

-----Original Message-----
From: Bajjuri, Praneeth <[email protected]>
Sent: Thursday, June 30, 2022 3:29 PM
To: Limaye, Aniket <[email protected]>; [email protected]; Mantena, Prasanth <[email protected]>; [email protected]
Cc: Eatmon, Ryan <[email protected]>; Weaver, Lucas <[email protected]>
Subject: Re: [meta-arago][dunfell][PATCH] gstreamer: Adding tracer-hooks build flag to enable GST_TRACERS

Prashanth,Prasanth,

Please review.

Quoted 1 line · Aniket Limaye

Enables GST_TRACERS : an optional utility for profiling gstreamer applications

Aniket,

1. What is the impact of this with codec performance?
2. Why is this optional utility need to enabled?

Quoted 18 lines
---
   .../gstreamer/gstreamer1.0_1.16.%.bbappend                   | 5 +++++
   1 file changed, 5 insertions(+)

create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend

meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0_1.16.%.bbappend new file +5 -0
new file mode 100644
index 00000000..d7bdaa04
@@ -0,0 +1,5 @@
+
+PACKAGECONFIG_append = " tracer-hooks"
+
+PR_append = ".arago0"
+
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS