mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
762c38d552
ChangeLog: Add target riscv to --enable-gprofng. 2024-07-04 Yixuan Chen <chenyixuan@iscas.ac.cn> * configure: Add riscv. * configure.ac: Add riscv. gprofng/ChangeLog: Minimal support gprofng for riscv. 2024-07-04 Yixuan Chen <chenyixuan@iscas.ac.cn> * gprofng/common/core_pcbe.c (core_pcbe_init): Add RISC-V vendor conditon. (defined): Add riscv. * gprofng/common/cpuid.c (defined): Add risc-v hwprobe. * gprofng/common/gp-defs.h (TOK_A_RISCV): Add riscv. (defined): Add riscv. (ARCH_RISCV): Add riscv. * gprofng/common/hwc_cpus.h: Add RISC-V vendor. * gprofng/common/hwcfuncs.h (HW_INTERVAL_TYPE): Remove useless defination. * gprofng/configure: Add riscv. * gprofng/configure.ac: Add riscv. * gprofng/libcollector/hwprofile.h (ARCH): Add RISC-V register. (CONTEXT_PC): Add RISC-V register. (CONTEXT_FP): Add RISC-V register. (CONTEXT_SP): Add RISC-V register. (SETFUNCTIONCONTEXT): * gprofng/libcollector/libcol_util.c (__collector_util_init): Fix libc open condition. * gprofng/libcollector/libcol_util.h (ARCH): Add RISC-V. * gprofng/libcollector/unwind.c (ARCH): Add RISC-V register. (GET_PC): Add RISC-V register. (GET_SP): Add RISC-V register. (GET_FP): Add RISC-V register. (FILL_CONTEXT): * gprofng/src/DbeSession.cc (ARCH): Add RISC-V. * gprofng/src/Disasm.cc (Disasm::disasm_open): Add RISC-V. * gprofng/src/Experiment.cc (Experiment::ExperimentHandler::startElement): Add RISC-V. * gprofng/src/checks.cc (ARCH): Add RISC-V. * gprofng/src/collctrl.cc (defined): Set risc-v cpu frequency to 1000MHz as default for now, will fix when I find a better method to get cpu frequency. (read_cpuinfo): Add "mvendorid" condition according to risc-v /proc/cpuinfo file content. * gprofng/src/dbe_types.h (enum Platform_t): Add RISC-V. |
||
---|---|---|
.. | ||
machinemodels | ||
ABS.h | ||
Application.cc | ||
Application.h | ||
ArchiveExp.cc | ||
ArchiveExp.h | ||
BaseMetric.cc | ||
BaseMetric.h | ||
BaseMetricTreeNode.cc | ||
BaseMetricTreeNode.h | ||
CacheMap.h | ||
CallStack.cc | ||
CallStack.h | ||
CatchOutOfMemory.cc | ||
checks.cc | ||
ClassFile.cc | ||
ClassFile.h | ||
collctrl.cc | ||
collctrl.h | ||
collect.h | ||
collector_module.h | ||
Command.cc | ||
Command.h | ||
comp_com.c | ||
comp_com.h | ||
CompCom.cc | ||
CompCom.h | ||
count.cc | ||
data_pckts.h | ||
Data_window.cc | ||
Data_window.h | ||
DataObject.cc | ||
DataObject.h | ||
DataSpace.cc | ||
DataSpace.h | ||
DataStream.cc | ||
DataStream.h | ||
dbe_collctrl.cc | ||
dbe_hwc.h | ||
dbe_hwcdrv.c | ||
dbe_hwcfuncs.c | ||
dbe_hwctable.c | ||
dbe_memmgr.c | ||
dbe_structs.h | ||
dbe_types.h | ||
Dbe.cc | ||
Dbe.h | ||
DbeApplication.cc | ||
DbeApplication.h | ||
DbeArray.h | ||
DbeCacheMap.h | ||
DbeFile.cc | ||
DbeFile.h | ||
DbeJarFile.cc | ||
DbeJarFile.h | ||
DbeLinkList.h | ||
DbeLock.cc | ||
DbeLock.h | ||
DbeSession.cc | ||
DbeSession.h | ||
DbeSyncMap.h | ||
DbeThread.cc | ||
DbeThread.h | ||
DbeView.cc | ||
DbeView.h | ||
debug.h | ||
DefaultHandler.h | ||
DefaultMap2D.h | ||
DefaultMap.h | ||
DerivedMetrics.cc | ||
DerivedMetrics.h | ||
Disasm.cc | ||
Disasm.h | ||
Dwarf.cc | ||
Dwarf.h | ||
DwarfLib.cc | ||
DwarfLib.h | ||
Elf.cc | ||
Elf.h | ||
Emsg.cc | ||
Emsg.h | ||
Emsgnum.h | ||
enums.h | ||
envsets.cc | ||
Exp_Layout.cc | ||
Exp_Layout.h | ||
Experiment.cc | ||
Experiment.h | ||
ExpGroup.cc | ||
ExpGroup.h | ||
Expression.cc | ||
Expression.h | ||
FileData.cc | ||
FileData.h | ||
Filter.cc | ||
Filter.h | ||
FilterExp.h | ||
FilterSet.cc | ||
FilterSet.h | ||
Function.cc | ||
Function.h | ||
gethrtime.c | ||
gp-archive.cc | ||
gp-archive.h | ||
gp-collect-app.cc | ||
gp-display-src.cc | ||
gp-display-text.cc | ||
gp-print.h | ||
gprofng.cc | ||
gprofng.h2m | ||
gprofng.rc | ||
HashMap.h | ||
HeapActivity.cc | ||
HeapActivity.h | ||
HeapData.cc | ||
HeapData.h | ||
HeapMap.cc | ||
HeapMap.h | ||
Hist_data.cc | ||
Hist_data.h | ||
Histable.h | ||
hwc_amd_zen3.h | ||
hwc_amd_zen4.h | ||
hwc_intel_icelake.h | ||
i18n.cc | ||
i18n.h | ||
IndexMap2D.h | ||
IndexObject.cc | ||
IndexObject.h | ||
info.h | ||
IntervalMap.h | ||
IOActivity.cc | ||
IOActivity.h | ||
ipc.cc | ||
ipcio.cc | ||
ipcio.h | ||
LoadObject.cc | ||
LoadObject.h | ||
MachineModel.cc | ||
Makefile.am | ||
Makefile.in | ||
Map2D.h | ||
Map.h | ||
MemObject.cc | ||
MemObject.h | ||
MemorySpace.cc | ||
MemorySpace.h | ||
Metric.cc | ||
Metric.h | ||
MetricList.cc | ||
MetricList.h | ||
Module.cc | ||
Module.h | ||
Ovw_data.cc | ||
Ovw_data.h | ||
parse.cc | ||
PathTree.cc | ||
PathTree.h | ||
PRBTree.cc | ||
PRBTree.h | ||
PreviewExp.cc | ||
PreviewExp.h | ||
Print.cc | ||
Print.h | ||
QLParser.h | ||
QLParser.yy | ||
Sample.cc | ||
Sample.h | ||
SAXParser.h | ||
SAXParserFactory.cc | ||
SAXParserFactory.h | ||
SegMem.h | ||
Settings.cc | ||
Settings.h | ||
SourceFile.cc | ||
SourceFile.h | ||
stab.h | ||
Stabs.cc | ||
Stabs.h | ||
Stats_data.cc | ||
Stats_data.h | ||
StringBuilder.cc | ||
StringBuilder.h | ||
StringMap.h | ||
Table.cc | ||
Table.h | ||
UserLabel.cc | ||
UserLabel.h | ||
util.cc | ||
util.h | ||
vec.h |