google / google/perfetto

Way for traced & traced_probes systemd services to signal readiness

Open
#3,582 0 comments 0 reactions 1 assignee Claimed by @sashwinbalaji View on GitHub
Dominant language
C++
Stars
6.5k
Forks
868
Avg merge
2d 1h
Merged PRs (30d)
218

Description

As part of debianizing, it would be nice to have a way for traced and traced_probes systemd services to signal when they are ready to process requests.

We can consider to:
1) introduce a flag called is_systemd (which can also be used for different logging purposes)
2) Depending on the flag use [sd_notify](https://man7.org/linux/man-pages/man3/sd_notify.3.html)'s standalone implementation to send sd_notify(0, "READY=1") to indicate we are active.
3) Update debian .service files to change type to notify

Open to other simpler proposals

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.