[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190415090104.GA10228@guoren-Inspiron-7460>
Date: Mon, 15 Apr 2019 17:01:04 +0800
From: Guo Ren <guoren@...nel.org>
To: Mao Han <han_mao@...ky.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 2/3] csky: Add support for perf registers sampling
Hi Mao,
Sorry, currect:
On Thu, Apr 11, 2019 at 03:45:00PM +0800, Mao Han wrote:
> This patch implements the perf registers sampling and validation API
> for csky arch. The valid registers and their register ID are defined in
> perf_regs.h. Perf tool can backtrace in userspace with unwind library
> and the registers/user stack dump support.
> + return ((long *)regs)[idx];
return (u64)*((u32 *)regs + idx);
Best Regards
Guo Ren
Powered by blists - more mailing lists