[OE-core] [PATCH v2 1/2] systemtap: supports mips starting with version 3.1

Victor Kamensky kamensky at cisco.com
Tue Mar 6 06:47:25 UTC 2018


Hi Khem,

On Mon, 5 Mar 2018, Khem Raj wrote:

> On Mon, Mar 5, 2018 at 1:50 PM, Victor Kamensky <kamensky at cisco.com> wrote:
>> Signed-off-by: Victor Kamensky <kamensky at cisco.com>
>> ---
>>  meta/recipes-kernel/systemtap/systemtap_git.inc | 3 +--
>>  1 file changed, 1 insertion(+), 2 deletions(-)
>>
>> diff --git a/meta/recipes-kernel/systemtap/systemtap_git.inc b/meta/recipes-kernel/systemtap/systemtap_git.inc
>> index c938760..d122359 100644
>> --- a/meta/recipes-kernel/systemtap/systemtap_git.inc
>> +++ b/meta/recipes-kernel/systemtap/systemtap_git.inc
>> @@ -15,8 +15,7 @@ SRC_URI = "git://sourceware.org/git/systemtap.git \
>>             file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \
>>             "
>>
>> -# systemtap doesn't support mips
>> -COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel).*-linux'
>> +COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips).*-linux'
>>
>
> Looks ok. Can we enable mipsel as well ?

Above expression, effectively 'mips.*-linux', does match 'mipsel' as well, 
does not it? It matches mips64.

I did test basic systemtap operations on qemumips, and
qemumips64 machines, worked ok to me. I noticed some small quirks 
but they were similar to one that arm machine has. I am not saying
that MIPS support in systemtap is perfect, it is new architecture
for systemtap after all, there could be some bugs. But I believe
it is good enough to be enabled in OE.

I don't see any easy virtual mipsel based machine so I cannot test
it right away. But I don't see a reson why it would not work in LE
mode.

Thanks,
Victor

>>  S = "${WORKDIR}/git"
>>
>> --
>> 2.7.4
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


More information about the Openembedded-core mailing list