From: Chen Zhongjin <chenzhongjin@huawei.com>
To: Andi Kleen <ak@linux.intel.com>,
"x86@kernel.org" <x86@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: "tglx@linutronix.de" <tglx@linutronix.de>,
"mingo@redhat.com" <mingo@redhat.com>,
"bp@alien8.de" <bp@alien8.de>,
"dave.hansen@linux.intel.com" <dave.hansen@linux.intel.com>,
"hpa@zytor.com" <hpa@zytor.com>
Subject: Re: [PATCH] x86: profiling: Using generic unwinding in profile_pc
Date: Tue, 4 Apr 2023 10:03:33 +0800 [thread overview]
Message-ID: <c2b8abb2-3a1e-6c49-6d3d-d8b29232e41b@huawei.com> (raw)
In-Reply-To: <96d44033-3bfd-840b-15d7-80dd3a1a5313@linux.intel.com>
On 2023/4/4 2:29, Andi Kleen wrote:
>
> On 4/2/2023 6:24 PM, Chen Zhongjin wrote:
>> Just ping... Or has profile code already been obsoleted?
>
>
> I think it would be reasonable to remove the locked functions hack
> since lock profiling can be handled with much better other tools these
> days.
>
> I wouldn't make it depend on the generic unwinder since such a low
> level facility is likely better off without complex dependencies that
> could break.
>
> -Andi
>
>
Although now the generic unwinder on x86 is quite stable... I think it's
acceptable to remove the locked functions unwinding
for !FP case and leave the FP part as is.
I'll send a new patch for this with another bugfix.
Thanks for review and best,
Chen
prev parent reply other threads:[~2023-04-04 2:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-24 2:18 Chen Zhongjin
2023-04-03 1:24 ` Chen Zhongjin
2023-04-03 18:29 ` Andi Kleen
2023-04-04 2:03 ` Chen Zhongjin [this message]
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=c2b8abb2-3a1e-6c49-6d3d-d8b29232e41b@huawei.com \
--to=chenzhongjin@huawei.com \
--cc=ak@linux.intel.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@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®