Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#625 closed defect (fixed)

lisp symbols in elf file not recognized by oprofile 0.9.5

Reported by: gb Owned by: gb
Priority: normal Milestone:
Component: other Version: trunk
Keywords: oprofile 0.9.5 Cc:

Description (last modified by gb)

We never actually load the ELF file used to provide symbolic information for opreport on Linux, but (just in case ...) set the flags in the "lisp" section in which those symbols are defined to indicate that the section shouldn't be loaded into memory.

In oprofile 0.9.5, symbols defined in sections that aren't loaded are ignored by opreport. (oprofile 0.9.5 was released on 2009-07-31 and is present in Fedora 11 and Ubuntu 9.10, at least.)

Change History (4)

comment:1 Changed 10 years ago by gb

  • Owner set to gb
  • Status changed from new to assigned
  • Summary changed from lisp symbols elf file not recognized by oprofile 0.9.5 to lisp symbols in elf file not recognized by oprofile 0.9.5

comment:2 Changed 10 years ago by gb

  • Description modified (diff)

comment:3 Changed 10 years ago by gb

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [13180]) In FIXUP-LISP-SECTION-HEADER-OFFSET, set the section header's type to #$SHT_PROGBITS (fixes ticket:625).

While we're there, add an extra page to the calculated offset, to account for the preceding image and section headers on 32-bit platforms.

comment:4 Changed 10 years ago by gb

(In [13181]) (in 1.4) In FIXUP-LISP-SECTION-HEADER-OFFSET, set the section header's type to #$SHT_PROGBITS (fixes ticket:625).

While we're there, add an extra page to the calculated offset, to account for the preceding image and section headers on 32-bit platforms.

Note: See TracTickets for help on using tickets.