Re: [PATCH] gprofng: Properly generate file offset for gmon.out

Project / Subsystem

binutils / gprofng

Date

2026-09-08

Proposer

Claudiu Zissulescu Ianculescu <claziss@gmail.com>

Source type

public_inbox

Consensus

Ready to Land

Sentiment

—/10

All attributes

project
binutils
subsystem
gprofng
patch_id
—
discussion_id
CAL0iMy2LjUC=wRC==r0j5Usw=R+xqScFbHa42A-VGQTzSFxuxg@mail.gmail.com
source_type
public_inbox
title
Re: [PATCH] gprofng: Properly generate file offset for gmon.out
headline
gprofng: Properly generate file offset for gmon.out
tldr
Patch to fix gmon.out file offset generation in gprofng is approved.
proposer
Claudiu Zissulescu Ianculescu <claziss@gmail.com>
consensus
Ready to Land
outcome
ready
sentiment_score
—
technical_tradeoffs
[]
series_id
—
series_role
reply
series_parts
[]
tags
  • • profiling
  • • gprofng
  • • linker
bugzilla_url
—
date
2026-09-08T00:00:00.000Z

Re: [PATCH] gprofng: Properly generate file offset for gmon.out

Claudiu Zissulescu Ianculescu LGTMs (Looks Good To Me) the patch submitted by H.J. Lu, which aims to fix the generation of the file offset for gmon.out in the gprofng tool. The patch corrects an issue where the file offset was not being properly retrieved, causing failures on Linux/x86-64. The fix involves getting the file offset from the filepos field of core_text_sect.