Re: [PATCH v3] perf record: Add support for arch_sdt_arg_parse_op() on s390
From: Thomas Richter
Date: Wed Mar 18 2026 - 02:27:57 EST
On 3/18/26 02:52, Mi, Dapeng wrote:
>
> On 3/17/2026 7:06 PM, Thomas Richter wrote:
>> commit e5e66adfe45a6 ("perf regs: Remove __weak attributive arch_sdt_arg_parse_op() function")
>> removes arch_sdt_arg_parse_op() functions and s390 support is lost.
>> The following warning is printed:
>
> Not sure if I miss something, but it looks there was also no s390 specific
> support for arch_sdt_arg_parse_op() before the commit e5e66adfe45a6 ("perf
> regs: Remove __weak attributive arch_sdt_arg_parse_op() function") and we
> would see same warning even without the commit e5e66adfe45a6, right?
>
>
Absolutely Correct, but in my opinion it does not matter if it was your patch or if
you just remove the __weak attribute. Your patch revealed the missing s390 support, which triggered
this patch.
If you do not like the wording, what do you suggest?
Thanks Thomas
--
Thomas Richter, Dept 3303, IBM s390 Linux Development, Boeblingen, Germany
--
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Wolfgang Wendt
Geschäftsführung: David Faller
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294