:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
// Minimal Go test binary for ELF/DWARF symbolication testing, exercising Go
// function naming and mid-stack inlining. See build.sh.
package main
import "os"
//go:noinline
func process(value int) int {
// Line 10 - this should be symbolicated
return transform(value) + 1
}
// transform is small enough for the compiler to inline into process.
func transform(value int) int {
doubled := value * 2
doubled += value / 3
// Line 16 - this should appear as an inlined frame
return doubled + 5
}
func main() {
// Line 22
os.Exit(process(len(os.Args)) & 1)
}