Dear developers of systemtap: I don't see file about sparc in 'tapset' or 'runtime' directory.Can systemtap support the sparc arch?Can you add the support of this arch,I will thank you very much! your fans
I added the support for aarch64 to systemtap. It significant work to add architecture support for a new platform. We welcome outside patches to support new architectures, but it is unlikely that we are going to develop one for SPARC. One could use the changes in systemtap for aarch64 as suggestions of where changes need to be made to support a new architecture: https://sourceware.org/git/?p=systemtap.git&a=search&h=HEAD&st=commit&s=aarch64 In the kernels sparc has HAVE_KPROBES in linux/arch/sparc/Kconfig, so kprobes are implemented. However, I don't know have tested that is. I found some issues with the aarch64 implementation of kprobes when working on the systemtap aarch64 support.
(In reply to William Cohen from comment #1) > I added the support for aarch64 to systemtap. It significant work to add > architecture support for a new platform. We welcome outside patches to > support new architectures, but it is unlikely that we are going to develop > one for SPARC. One could use the changes in systemtap for aarch64 as > suggestions of where changes need to be made to support a new architecture: > > https://sourceware.org/git/?p=systemtap. > git&a=search&h=HEAD&st=commit&s=aarch64 > > In the kernels sparc has HAVE_KPROBES in linux/arch/sparc/Kconfig, so > kprobes are implemented. However, I don't know have tested that is. I found > some issues with the aarch64 implementation of kprobes when working on the > systemtap aarch64 support. Dear good brother,are you the developer of systemtap?Can you add the support of sparc?Thank you very much! I read the source of tapset and runtime,i think we can add the register.h and stp files to support a new architecture. I know it support aarch64(i already use),but what i say is sparc. Thank you very much!love you!
Systemtap does not currently support SPARC processors. It is unlikely that SPARC support will be added by myself or others developers at Red Hat. However, we welcome contributions from outside developers. Information about working on systemtap is available at: https://sourceware.org/systemtap/getinvolved.html
Jose E. Marchesi mentions a port of systemtap to SPARC on http://www.jemarch.net/cv.html . Maybe those patches can be posted and that can be used as a starting point for SPARC support and further developed by people using SPARC Linux systems.
Don't have any access to SPARC machines, so it is unlikely that we will be able to address this.