fluent / fluent-package-builder

td-agent (Fluentd) Building and Packaging System
Apache License 2.0
22 stars 26 forks source link

Upload dbgsym Debian packages #680

Open stanhu opened 5 days ago

stanhu commented 5 days ago

We've been trying to profile our fluentd process due to high CPU usage, and our flamegraphs show that many of the profiles only show C function. It would help if the debug symbols were uploaded with the package.

I was able to run bundle exec rake apt:build ubuntu:jammy in the fluent-package directory, and I see that the dbgsym packages are generated:

$ find . -name \*.deb
./apt/repositories/debian/pool/bullseye/main/f/fluent-package/fluent-package_5.1.0-1_amd64.deb
./apt/repositories/debian/pool/bullseye/main/f/fluent-package/fluent-package-dbgsym_5.1.0-1_amd64.deb
./apt/repositories/debian/pool/bullseye/main/f/fluent-package/td-agent_5.1.0-1_all.deb

Would you be able to upload these to the APT repository? I don't see them in https://td-agent-package-browser.herokuapp.com/5/ubuntu/jammy/pool/contrib/f/fluent-package at the moment.

stanhu commented 5 days ago

What do you think @kenhys?

kenhys commented 2 days ago

It takes extra storage to keep debug package, so it should think carefully about this.

Anyway, thank you feedback.