summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/trace/ftrace.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-14powerpc/ftrace: Ignore ftrace locations in exit text sectionsNaveen N Rao1-0/+12
2023-08-21powerpc/ftrace: Add support for -fpatchable-function-entryNaveen N Rao1-2/+12
2023-08-21powerpc/ftrace: Implement ftrace_replace_code()Naveen N Rao1-73/+92
2023-08-21powerpc/ftrace: Replace use of ftrace_call_replace() with ftrace_create_branc...Naveen N Rao1-15/+2
2023-08-21powerpc/ftrace: Simplify ftrace_modify_call()Naveen N Rao1-140/+21
2023-08-21powerpc/ftrace: Simplify ftrace_make_call()Naveen N Rao1-156/+31
2023-08-21powerpc/ftrace: Simplify ftrace_make_nop()Naveen N Rao1-188/+32
2023-08-21powerpc/ftrace: Add separate ftrace_init_nop() with additional validationNaveen N Rao1-0/+71
2023-08-21powerpc/ftrace: Stop re-purposing linker generated long branches for ftraceNaveen N Rao1-93/+17
2023-08-21powerpc/ftrace: Refactor ftrace_modify_code()Naveen N Rao1-20/+27
2023-08-21powerpc/ftrace: Extend ftrace support for large kernels to ppc32Naveen N Rao1-18/+21
2023-08-21powerpc/ftrace: Use FTRACE_REGS_ADDR to identify the correct ftrace trampolineNaveen N Rao1-6/+1
2023-08-21powerpc/ftrace: Simplify function_graph support in ftrace.cNaveen N Rao1-57/+7
2023-08-21powerpc64/ftrace: Move ELFv1 and -pg support code into a separate fileNaveen N Rao1-10/+0
2023-04-20powerpc/64: vmlinux support building with PCREL addresingNicholas Piggin1-10/+38
2023-04-20powerpc/64: Add support to build with prefixed instructionsNicholas Piggin1-0/+2
2022-08-10powerpc64/ftrace: Fix ftrace for clang buildsNaveen N. Rao1-4/+4
2022-07-25powerpc: Fix all occurences of duplicate wordsMichael Ellerman1-3/+3
2022-06-29powerpc/64: Drop ppc_inst_as_str()Michael Ellerman1-11/+13
2022-05-22powerpc/ftrace: Remove ftrace init tramp once kernel init is completeNaveen N. Rao1-3/+12
2022-05-22powerpc/ftrace: Minimise number of #ifdefsChristophe Leroy1-90/+85
2022-05-22powerpc/ftrace: Simplify expected_nop_sequence()Christophe Leroy1-16/+6
2022-05-22powerpc/ftrace: Use size macro instead of opencodingChristophe Leroy1-1/+1
2022-05-19powerpc/ftrace: Use PPC_RAW_xxx() macros instead of opencoding.Christophe Leroy1-21/+11
2022-05-19powerpc/ftrace: Use BRANCH_SET_LINK instead of value 1Christophe Leroy1-1/+1
2022-05-19powerpc/ftrace: Remove ftrace_plt_tramps[]Christophe Leroy1-8/+0
2022-05-19powerpc/ftrace: Use CONFIG_FUNCTION_TRACER instead of CONFIG_DYNAMIC_FTRACEChristophe Leroy1-4/+0
2022-05-19powerpc/ftrace: Make __ftrace_make_{nop/call}() common to PPC32 and PPC64Christophe Leroy1-100/+8
2022-05-19powerpc: Replace PPC64_ELF_ABI_v{1/2} by CONFIG_PPC64_ELF_ABI_V{1/2}Christophe Leroy1-2/+2
2022-05-19powerpc/ftrace: Use patch_instruction() return directlyChristophe Leroy1-4/+1
2022-05-19powerpc/ftrace: Inline ftrace_modify_code()Christophe Leroy1-1/+1
2022-05-19powerpc/ftrace: Use is_offset_in_branch_range()Christophe Leroy1-6/+2
2022-05-19powerpc/ftrace: Remove redundant create_branch() callsChristophe Leroy1-20/+0
2022-05-19powerpc/ftrace: Refactor prepare_ftrace_return()Christophe Leroy1-3/+9
2022-03-08powerpc: Move C prototypes out of asm-prototypes.hChristophe Leroy1-1/+0
2022-02-16powerpc/ftrace: Add recursion protection in prepare_ftrace_return()Christophe Leroy1-0/+7
2022-02-07powerpc/ftrace: directly call of function graph tracer by ftrace callerChristophe Leroy1-0/+11
2022-02-07powerpc/ftrace: Refactor ftrace_{en/dis}able_ftrace_graph_callerChristophe Leroy1-12/+9
2021-12-09powerpc/inst: Define ppc_inst_tChristophe Leroy1-27/+27
2021-11-29powerpc/ftrace: Activate HAVE_DYNAMIC_FTRACE_WITH_REGS on PPC32Christophe Leroy1-2/+14
2021-11-29powerpc/ftrace: Add module_trampoline_target() for PPC32Christophe Leroy1-33/+4
2021-06-16powerpc: Don't use 'struct ppc_inst' to reference instruction locationChristophe Leroy1-17/+16
2021-06-15powerpc/ftrace: Use PPC_RAW_MFLR() and PPC_RAW_NOP()Christophe Leroy1-9/+9
2021-06-15powerpc/lib/code-patching: Use PPC_RAW_() macrosChristophe Leroy1-1/+1
2021-04-21powerpc: Rename probe_kernel_read_inst()Christophe Leroy1-11/+11
2020-07-23powerpc: Add a ppc_inst_as_str() helperJordan Niethe1-13/+13
2020-06-17maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofaultChristoph Hellwig1-2/+2
2020-05-18powerpc: Add a probe_kernel_read_inst() functionJordan Niethe1-10/+13
2020-05-18powerpc: Use a function for reading instructionsJordan Niethe1-2/+2
2020-05-18powerpc: Use a datatype for instructionsJordan Niethe1-41/+42