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-boun...@lists.01.org] On Behalf Of prabin ca Sent: Friday, September 7, 2018 10:30 AM To: Laszlo Ersek <ler...@redhat.com> Cc: Bi, Dandan <dandan...@intel.com>; edk2-devel@lists.01.org; af...@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 <ler...@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 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel