aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/report/bsd.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg: use kernelDir instead of 3 parametersTaras Madan2025-03-271-3/+3
| | | | It allows to reduce parameters count for some functions.
* pkg/symbolizer: introduce Symbolizer interfaceTaras Madan2025-03-071-4/+3
| | | | To simplify interface Read*Symbols were moved out from symbolizer.Symbolizer.
* pkg/report: remove unnecessary NewScan() callsAleksandr Nogikh2024-04-151-5/+2
| | | | | These are susceptible to potentially very long lines in the input. Direct splitting by \n is more reliable.
* pkg/report: separate reporter wrapper from OS-specific implementationsAleksandr Nogikh2021-08-061-1/+1
| | | | | | | | | | | | | Currently a number of report post-processing activities are implemented as a decorator over the interface that defines OS-specific implementations. Following exactly the same interface is too restrictive in this case as adding extra parameters to the post-processing forces the developer to adjust all implementations thay may not need these parameters at all. Untie the wrapper from the Reporter interface. Use a package-private reporterImpl interface for the OS-specific implementations, while having an exported Reporter structure. Make sure that Reporter is stored and passed as a pointer.
* vm/vmimpl/merger: remove all CRs from outputAlexander Egorenkov2020-10-021-11/+1
| | | | | | | Get rid of all places stripping \r in pkg/report. And adapt all tests. Signed-off-by: Alexander Egorenkov <Alexander.Egorenkov@ibm.com>
* pkg: support compiler triple for 'nm' and 'addr2line'Alexander Egorenkov2020-06-181-2/+3
| | | | In preparation to support big-endian architectures.
* pkg/report: deduplicate code across netbsd and openbsdDmitry Vyukov2020-06-071-0/+136