Re: [PATCH 01/17] perf: get rid of unused import

2023-06-13 Thread Leo Yan
s before making it available > via perf-tools-next, when I should not make any further changes. Understand now. Here is my review tag: Reviewed-by: Leo Yan

Re: [PATCH 01/17] perf: get rid of unused import

2023-06-13 Thread Leo Yan
On Tue, Jun 13, 2023 at 04:54:08PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Jun 13, 2023 at 10:11:29PM +0530, Athira Rajeev escreveu: > > From: Sourabh Jain > > > > Script doesn't use sys library, so remove it. > > Please Cc the persons working on that file, I added Leo to the CC list >

Re: [PATCH v2 3/3] arm: Add support for function error injection

2019-08-29 Thread Leo Yan
1 has been merged by the ARM64 people, I can't take > it until next cycle. For this case, do you want me to resend this patch in next merge window? Or you have picked up this patch but will send PR in next cycle? Thanks, Leo Yan > On Mon, Aug 19, 2019 at 05:18:08PM +0800, Leo Y

Re: [PATCH v2 3/3] arm: Add support for function error injection

2019-08-19 Thread Leo Yan
Hi Russell, On Tue, Aug 06, 2019 at 06:00:15PM +0800, Leo Yan wrote: > This patch implements arm specific functions regs_set_return_value() and > override_function_with_return() to support function error injection. > > In the exception flow, it updates pt_regs::ARM_pc with pt_regs:

Re: [PATCH v2 0/3] arm/arm64: Add support for function error injection

2019-08-08 Thread Leo Yan
On Wed, Aug 07, 2019 at 05:07:03PM +0100, Will Deacon wrote: > On Tue, Aug 06, 2019 at 06:00:12PM +0800, Leo Yan wrote: > > This small patch set is to add support for function error injection; > > this can be used to eanble more advanced debugging feature, e.g. > > CONFI

Re: [PATCH v2 0/3] arm/arm64: Add support for function error injection

2019-08-06 Thread Leo Yan
On Wed, Aug 07, 2019 at 09:08:11AM +0900, Masami Hiramatsu wrote: > On Tue, 6 Aug 2019 18:00:12 +0800 > Leo Yan wrote: > > > This small patch set is to add support for function error injection; > > this can be used to eanble more advanced debugging feature, e.g. > >

[PATCH v2 3/3] arm: Add support for function error injection

2019-08-06 Thread Leo Yan
This patch implements arm specific functions regs_set_return_value() and override_function_with_return() to support function error injection. In the exception flow, it updates pt_regs::ARM_pc with pt_regs::ARM_lr so can override the probed function return. Signed-off-by: Leo Yan --- arch/arm

[PATCH v2 2/3] arm64: Add support for function error injection

2019-08-06 Thread Leo Yan
r function is override_function_with_return() which is to override the probed function returning and jump to its caller. Signed-off-by: Leo Yan --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/ptrace.h | 5 + arch/arm64/lib/Makefile | 2 ++ arch/arm64/lib/error-injec

[PATCH v2 1/3] error-injection: Consolidate override function definition

2019-08-06 Thread Leo Yan
/compiler.h for successful compilation. Signed-off-by: Leo Yan --- arch/powerpc/include/asm/error-injection.h | 13 - arch/x86/include/asm/error-injection.h | 13 - include/asm-generic/error-injection.h | 6 ++ include/linux/error-injection.h| 6

[PATCH v2 0/3] arm/arm64: Add support for function error injection

2019-08-06 Thread Leo Yan
. Changes from v1: * Consolidated the function definition into asm-generic header (Will); * Used APIs to access pt_regs elements (Will); * Fixed typos in the comments (Will). Leo Yan (3): error-injection: Consolidate override function definition arm64: Add support for function error injection