Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Conversation

@leborchuk
Copy link

--enable-profiling instructs gcc to add profiling sampling to the compiled binaries. It also generates a gmon.out file, which is a sample file commonly used by the https://en.wikipedia.org/wiki/GProf utility.

The issue with gmon.out is that it consumes gigabytes of space and is not needed for pg_regress tests. It is a stat for manual gprof analysis.

Let's disable it by default.

Currently it is used in the https://github.com/apache/cloudberry/blob/main/.github/workflows/build-dbg-cloudberry.yml workflow.

@tuhaihe tuhaihe requested a review from edespino April 29, 2025 02:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant