lkml.org 
[lkml]   [2022]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] powerpc/ftrace: fix syscall tracing on PPC64_ELF_ABI_V1
Date


Le 07/12/2022 à 16:18, Mathieu Desnoyers a écrit :
> On 2022-12-06 21:09, Michael Ellerman wrote:
>> Mathieu Desnoyers <mathieu.desnoyers@efficios.com> writes:
>>> On 2022-12-05 17:50, Michael Ellerman wrote:
>>> IMHO the second option would be better because it does not increase the
>>> kernel image size as much as KALLSYMS_ALL.
>>
>> Yes I agree.
>>
>> Even if that did break something, any breakage would be limited to
>> arches which uses function descriptors, which are now all rare.
>
> Yes, it would only impact those arches using function descriptors, which
> are broken today with respect to system call tracing. Are you aware of
> other architectures other than PPC64 ELF ABI v1 supported by the Linux
> kernel that use function descriptors ?

$ git grep "select HAVE_FUNCTION_DESCRIPTORS" arch/
arch/ia64/Kconfig: select HAVE_FUNCTION_DESCRIPTORS
arch/parisc/Kconfig: select HAVE_FUNCTION_DESCRIPTORS if 64BIT
arch/powerpc/Kconfig: select HAVE_FUNCTION_DESCRIPTORS if
PPC64_ELF_ABI_V1


Christophe
\
 
 \ /
  Last update: 2022-12-07 17:28    [W:0.086 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site