public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: prabin ca <prabinca4u@gmail.com>
To: "Bi, Dandan" <dandan.bi@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
	"afish@apple.com" <afish@apple.com>
Subject: Re: Performance enabling of Event handler
Date: Mon, 10 Sep 2018 20:33:05 +0530	[thread overview]
Message-ID: <3FD40F26-7ADC-47B2-8062-1E8FBDD12E9A@gmail.com> (raw)
In-Reply-To: <7737B88C-7B8E-4A0E-8DE1-87875C570261@gmail.com>

Hi Team,

Thank it’s got worked on dp -t 0.

> On 07-Sep-2018, at 9:27 PM, prabin ca <prabinca4u@gmail.com> wrote:
> 
> Hi 
> 
> Yes it is included in same module (both event handler and function handler), and I’m not perf_start and perf_end only two times (one is by event handler and one is by normal function handler).
> 
> And I’m trying to print result using DP.efi, it shows entry for normal function.
> 
>> On 07-Sep-2018, at 8:46 AM, Bi, Dandan <dandan.bi@intel.com> wrote:
>> 
>> Hi Prabin,
>> 
>> The Performance logging for the normal functions handlers and event handlers should be the same.
>> Are the normal function calls and the event handler function calls you tested in the same module?
>> If not, please double check to make sure the performance library instance used correctly for each module.
>> 
>> 
>> Thanks,
>> Dandan
>> 
>> -----Original Message-----
>> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of prabin ca
>> Sent: Friday, September 7, 2018 10:30 AM
>> To: Laszlo Ersek <lersek@redhat.com>
>> Cc: Bi, Dandan <dandan.bi@intel.com>; edk2-devel@lists.01.org; afish@apple.com
>> Subject: Re: [edk2] Performance enabling of Event handler
>> 
>> Hi,
>> PerformancePkg is not working with event handlers, but it’s working with normal functions handlers. 
>> 
>>>> On 06-Sep-2018, at 3:28 PM, Laszlo Ersek <lersek@redhat.com> wrote:
>>>> 
>>>> On 09/06/18 08:10, prabin ca wrote:
>>>> Hi Team,
>>>> 
>>>> I’m used edk2 PerformancePkg for profiling cpu execution time taken by a event handler. Event is created successfully and event handler is also called successfully, but I can capture the performance of this event handler with PerformancePkg (by using perf_start and perf_end check points). This PerformancePkg is working fine with normal function calls.
>>> 
>>> Do you mean "can not", instead of "can"? (Sorry, I don't understand.)
>>> 
>>>> 
>>>> Please help me to enable PerformancePkg action on event handler also.
>>>> 
>>> 
>>> Hmmm, even with the suggested typo correction, I wouldn't know what to 
>>> suggest. Sorry!
>>> 
>>> Laszlo
>> _______________________________________________
>> edk2-devel mailing list
>> edk2-devel@lists.01.org
>> https://lists.01.org/mailman/listinfo/edk2-devel


      parent reply	other threads:[~2018-09-10 15:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-06  6:10 Performance enabling of Event handler prabin ca
2018-09-06  9:58 ` Laszlo Ersek
2018-09-07  2:30   ` prabin ca
2018-09-07  2:58     ` Andrew Fish
2018-09-07  3:16     ` Bi, Dandan
2018-09-07 15:57       ` prabin ca
2018-09-08  4:15         ` Bi, Dandan
2018-09-10 15:03         ` prabin ca [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-list 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=3FD40F26-7ADC-47B2-8062-1E8FBDD12E9A@gmail.com \
    --to=devel@edk2.groups.io \
    /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