From: Guo Ren <guoren@kernel.org>
To: Mao Han <han_mao@c-sky.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 2/3] csky: Add support for perf registers sampling
Date: Mon, 15 Apr 2019 17:01:04 +0800 [thread overview]
Message-ID: <20190415090104.GA10228@guoren-Inspiron-7460> (raw)
In-Reply-To: <c1d58e5813ac45b30b29f3b67f9856fd32c8b42d.1554967684.git.han_mao@c-sky.com>
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
next prev parent reply other threads:[~2019-04-15 9:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-11 7:44 [PATCH v4 0/3] csky: perf callchain dwarf support Mao Han
2019-04-11 7:44 ` [PATCH v4 1/3] perf evsel: Use hweight64() instead of hweight_long(attr.sample_regs_user) Mao Han
2019-04-11 7:45 ` [PATCH v4 2/3] csky: Add support for perf registers sampling Mao Han
2019-04-15 3:49 ` Guo Ren
2019-04-15 9:01 ` Guo Ren [this message]
2019-04-11 7:45 ` [PATCH v4 3/3] csky: Add support for libdw Mao Han
2019-04-15 6:28 ` Guo Ren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190415090104.GA10228@guoren-Inspiron-7460 \
--to=guoren@kernel.org \
--cc=han_mao@c-sky.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®