This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH 00/12] MIPS port
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Marcin Nowakowski <marcin dot nowakowski at imgtec dot com>
- Cc: <systemtap at sourceware dot org>
- Date: Tue, 11 Oct 2016 11:00:47 -0400
- Subject: Re: [PATCH 00/12] MIPS port
- Authentication-results: sourceware.org; auth=none
- References: <1476173668-30787-1-git-send-email-marcin.nowakowski@imgtec.com>
Marcin Nowakowski <marcin.nowakowski@imgtec.com> writes:
> This patch series attempts to bring MIPS support to systemtap. It is
> largely based on an earlier work by Victor Kamensky and Crestez Dan
> Leonard who have previously attempted to add MIPS support, but which
> has never been completed. [...]
Thank you.
> There is no good guide on how to add a new architecture to SystemTap,
> so there might be things that I have missed or which are not done
> entirely correctly - I hope that with some guidance from the
> maintainers I can get it all merged into the tree. [...]
After a quick look over the patches and an x86-64 smoke-test to detect
"friendly fire", the whole set is now merged.
As to how to port to new architectures, indeed we lack formal
documentation on this. (It happens so rarely!) One minimal thing we
could do would be to add comment markers like /* PORTING */ to all the
places you just had to touch. (It would be similar to the "PRERELEASE"
comment to mark pre-release checklist locations.) Would that have
helped you?
- FChE