From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::429; helo=mail-pf1-x429.google.com; envelope-from=prabinca4u@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0B22321123E3E for ; Mon, 10 Sep 2018 08:03:09 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id s13-v6so10615826pfi.7 for ; Mon, 10 Sep 2018 08:03:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ghBOciWh61WdueiGon+TERqE1evJsARYcOlxcjhMPN4=; b=pWbQc3P6Qi3a0DfbwX/TS1Mw1NSzFSsd0maKV1ehF7yreJC/UVviqdAcMSwCtwvD5z oK2dmiU3B1wdSBN4aypcPC6U3mVMsYaq3bnBlQwe6FnovwGfDAvw7jOH3D+nBEhX/Q4E KlgQHs5LMqw0eek7u56BpbRvtlHQ7OGCMiIGseNwyt8rhRirV0wB/8tuTWIa5jZLhVKy NOqkUK5aOYrBGUlxynigOuT/Y57WejwPEof2sBkmBEtl8l7twbmHrVLxEqHsjHmv6YtW 7mj9SJWZlTOccOJ++Spz6FWt70QZ4U7Ffbf1VZ7f7QpJqpReQhMROE1/7skefymgEtM8 CuNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ghBOciWh61WdueiGon+TERqE1evJsARYcOlxcjhMPN4=; b=PEG5tIPwCTVJx86LvuMYaehTFpFmCSV/G/cxw/W6TT0ku+YJJja9sr3GQslbXNqpBS cvClBV2Q2wZ+BmS5ME7/jRZjKdnv5VDgTzbzNQJfwoNckDCsTbRCjhoHlk850eB4kiWx vY9kS4RakldQ4vPdvi9H+twQYzWc+puw80isF8qfq+sG+aQu5YfYxsUjKGIQAALbpa9H eFWCxWHGIdwgh4NNY7IBr0cKB8BK1CGMWpe1ydp0kqGV46wUXjrSyAlAU1HgbdGhn4FP K3qqSTa6hFS9xK1MyWENEvA9NDJbL8xKGURNkT8qBDKpVZVXOOaWOSBXr1HI5WjoPy2W MiCQ== X-Gm-Message-State: APzg51Crja7XE/9Tb1d1iwaq4b8qXZVrIAsvCZON4SbQgmAzYQCBxVON Xa82PHbEGXHs4EJmXvoZyDk= X-Google-Smtp-Source: ANB0Vdai66FgWGazPBNgSK0ggFD3q09dFOoo8lT4yAccKc4ncFw/WCHN/dwDcdlq4uA+Iat/wyXzQA== X-Received: by 2002:a65:6455:: with SMTP id s21-v6mr23588692pgv.25.1536591789363; Mon, 10 Sep 2018 08:03:09 -0700 (PDT) Received: from [100.77.41.117] ([49.15.143.250]) by smtp.gmail.com with ESMTPSA id u11-v6sm20633220pgj.71.2018.09.10.08.03.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 08:03:08 -0700 (PDT) Mime-Version: 1.0 (1.0) From: prabin ca X-Mailer: iPhone Mail (15G77) In-Reply-To: <7737B88C-7B8E-4A0E-8DE1-87875C570261@gmail.com> Date: Mon, 10 Sep 2018 20:33:05 +0530 Cc: Laszlo Ersek , "edk2-devel@lists.01.org" , "afish@apple.com" Message-Id: <3FD40F26-7ADC-47B2-8062-1E8FBDD12E9A@gmail.com> References: <67C5668B-A842-4280-A555-74D9AD99D142@gmail.com> <3C0D5C461C9E904E8F62152F6274C0BB3BB7271B@shsmsx102.ccr.corp.intel.com> <7737B88C-7B8E-4A0E-8DE1-87875C570261@gmail.com> To: "Bi, Dandan" Subject: Re: Performance enabling of Event handler X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2018 15:03:10 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Team, Thank it=E2=80=99s got worked on dp -t 0. > On 07-Sep-2018, at 9:27 PM, prabin ca wrote: >=20 > Hi=20 >=20 > Yes it is included in same module (both event handler and function handler= ), and I=E2=80=99m not perf_start and perf_end only two times (one is by eve= nt handler and one is by normal function handler). >=20 > And I=E2=80=99m trying to print result using DP.efi, it shows entry for no= rmal function. >=20 >> On 07-Sep-2018, at 8:46 AM, Bi, Dandan wrote: >>=20 >> Hi Prabin, >>=20 >> The Performance logging for the normal functions handlers and event handl= ers should be the same. >> Are the normal function calls and the event handler function calls you te= sted in the same module? >> If not, please double check to make sure the performance library instance= used correctly for each module. >>=20 >>=20 >> Thanks, >> Dandan >>=20 >> -----Original Message----- >> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of pr= abin ca >> Sent: Friday, September 7, 2018 10:30 AM >> To: Laszlo Ersek >> Cc: Bi, Dandan ; edk2-devel@lists.01.org; afish@appl= e.com >> Subject: Re: [edk2] Performance enabling of Event handler >>=20 >> Hi, >> PerformancePkg is not working with event handlers, but it=E2=80=99s worki= ng with normal functions handlers.=20 >>=20 >>>> On 06-Sep-2018, at 3:28 PM, Laszlo Ersek wrote: >>>>=20 >>>> On 09/06/18 08:10, prabin ca wrote: >>>> Hi Team, >>>>=20 >>>> I=E2=80=99m used edk2 PerformancePkg for profiling cpu execution time t= aken by a event handler. Event is created successfully and event handler is a= lso called successfully, but I can capture the performance of this event han= dler with PerformancePkg (by using perf_start and perf_end check points). Th= is PerformancePkg is working fine with normal function calls. >>>=20 >>> Do you mean "can not", instead of "can"? (Sorry, I don't understand.) >>>=20 >>>>=20 >>>> Please help me to enable PerformancePkg action on event handler also. >>>>=20 >>>=20 >>> Hmmm, even with the suggested typo correction, I wouldn't know what to=20= >>> suggest. Sorry! >>>=20 >>> Laszlo >> _______________________________________________ >> edk2-devel mailing list >> edk2-devel@lists.01.org >> https://lists.01.org/mailman/listinfo/edk2-devel