Page MenuHomeFreeBSD

Fix handling .debug file instead of .symbols
ClosedPublic

Authored by fabient on Oct 2 2015, 1:50 PM.
Tags
None
Referenced Files
F81591043: D3785.diff
Thu, Apr 18, 3:08 PM
Unknown Object (File)
Wed, Apr 17, 2:12 PM
Unknown Object (File)
Mar 2 2024, 7:52 AM
Unknown Object (File)
Dec 23 2023, 10:37 AM
Unknown Object (File)
Nov 23 2023, 7:27 PM
Unknown Object (File)
Nov 22 2023, 8:21 PM
Unknown Object (File)
Nov 22 2023, 8:02 PM
Unknown Object (File)
Nov 14 2023, 9:10 PM
Subscribers

Details

Summary

Look at new location first AND old location in case user like it.

There is another separate fix from Kai to handle addr2line pipe without leak.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

fabient retitled this revision from to Fix handling .debug file instead of .symbols.
fabient updated this object.
fabient edited the test plan for this revision. (Show Details)
fabient added reviewers: gnn, emaste, jhb, davide.
fabient set the repository for this revision to rS FreeBSD src repository - subversion.
usr.sbin/pmcstat/pmcstat_log.c
979

It should still use pi_fullpath -- the scheme is that debug data is stored in the same path under /usr/lib/debug/. So for example /boot/test-kernel/ will have debug data in /usr/lib/debug/boot/test-kernel/

997

whitespace change?

1024

remove this before checkin :)

emaste edited edge metadata.

Looks good to me with minor style(9) nits

usr.sbin/pmcstat/pmcstat_log.c
975

style(9) on the comment:
/* Try default debug file location. */

983

style(9)

This revision is now accepted and ready to land.Oct 2 2015, 3:00 PM

I believe this is now committed?

commited as r289023

usr.sbin/pmcstat/pmcstat_log.c
979

Good catch. :)