# Scheduler Tracing In Go

DevFeed: [Scheduler Tracing In Go](<https://devfeed.tech/articles/scheduler-tracing-in-go-22110.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2015/02/scheduler-tracing-in-go.html>)

Published: 2015-02-23T00:00:00Z

Content type: tutorial

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [tracing](<https://devfeed.tech/topics/tracing.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [debugging](<https://devfeed.tech/topics/debugging.md>)

Tags: [ardan-labs](<https://devfeed.tech/tags/ardan-labs.md>), [blog](<https://devfeed.tech/tags/blog.md>), [commands](<https://devfeed.tech/tags/commands.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [go](<https://devfeed.tech/tags/go.md>), [go-programming](<https://devfeed.tech/tags/go-programming.md>), [golang](<https://devfeed.tech/tags/golang.md>), [goroutines](<https://devfeed.tech/tags/goroutines.md>), [profiling](<https://devfeed.tech/tags/profiling.md>), [programming](<https://devfeed.tech/tags/programming.md>), [standard](<https://devfeed.tech/tags/standard.md>), [tracing](<https://devfeed.tech/tags/tracing.md>)

## AI overview

This tutorial explains how to use the GODEBUG environment variable to inspect Go runtime profiling and debugging information, with a focus on interpreting scheduler trace output from a concurrent program.

## Source excerpt

Introduction One of the things I love about Go is the profiling and debug information you can generate. There is a special environmental variable named GODEBUG that will emit debugging information about the runtime as your program executes. You can request summary and detailed information for both the garbage collector and the scheduler. What's great is you don't need to build your program with any special switches for it to work.