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::636; helo=mail-pl1-x636.google.com; envelope-from=prabinca4u@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) (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 C6FD52112500C for ; Fri, 7 Sep 2018 08:57:09 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id h3-v6so3428965plh.10 for ; Fri, 07 Sep 2018 08:57: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=1UGzLBt/c6v+2tgqpqD9R7xctZ9LSuUlOjmbxYr8/HU=; b=UX5INoj7iSm9MKChyhM/ACpW+U8S8Lc7gLwMdReslpNIOoCooTtv8gaoZo9PmmaXJz axbtke7PszNgxCbeTyTSdW4IBhNn/MScz20fpLcLXxKQASYC/jpH4YTVyIXk6/qlWvxq Z3ssliB70sLg+duoh3mi5tGj+TAVZE94gCxgzsv65c3CCoaAoUk89CetxpVxzBPXki2B OZMIaj11rpZdYzZ+NKOZmjXqYI/GrO2v+g4efqy4Uc7imb2ZZHrr566/0shouxTGkpHl Gzt0VXUEsgBl3mJgl2CU0so9+V4bLk05gABMvAEiFcvlrOvR20WfVY+1NRWPgquAkv2E 2S6w== 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=1UGzLBt/c6v+2tgqpqD9R7xctZ9LSuUlOjmbxYr8/HU=; b=Y2bDxOoslZWVMU52Mj4cBm5j2iRkMeEzfIvqThm9fURO8Fd1I1mQS6Cl05YD2/hqdD KnON6E4h0WmIE2tXYf3IKG2+zAyMU9+dIcqaSqpJZhJX97eN5w8A6bIfEThAsHpoMFsU e1kCsrfZav9ZA6zygj61w0lkkh9T5JwmtKunKKQeTgRiZo38SoVVyyz2F7uXjcx889YD fyolH7/zBKuXe5R/gqi/s1O3dHZYSVWG4PNos2pWv4iIEImeBVOhfHlIc1gZK0DHRWcB H7lyjJMRSHHQ1u1uXkbrh0ipB3IKZ/H/WeZT4iNgC/Tu9WQxCfkk4782q/PxaBn3uxor gvZQ== X-Gm-Message-State: APzg51AFKTJuEealP+8F0zH0xD8EjkHAbWlhjdOp8CFKZNJ9KnnaHYgO 9i9go+P6dJl2sf11N2vt008= X-Google-Smtp-Source: ANB0VdagizMEaeDfIeb+OBuRl/+r0V9uG3mRGgpvw2VU0YOfDnhMLN16SzsQDcDmBl/VaMt+AoZ1hg== X-Received: by 2002:a17:902:6806:: with SMTP id h6-v6mr8776218plk.304.1536335829286; Fri, 07 Sep 2018 08:57:09 -0700 (PDT) Received: from [10.24.76.229] ([49.15.210.88]) by smtp.gmail.com with ESMTPSA id o10-v6sm15266831pfk.76.2018.09.07.08.57.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Sep 2018 08:57:08 -0700 (PDT) Mime-Version: 1.0 (1.0) From: prabin ca X-Mailer: iPhone Mail (15G77) In-Reply-To: <3C0D5C461C9E904E8F62152F6274C0BB3BB7271B@shsmsx102.ccr.corp.intel.com> Date: Fri, 7 Sep 2018 21:27:02 +0530 Cc: Laszlo Ersek , "edk2-devel@lists.01.org" , "afish@apple.com" Message-Id: <7737B88C-7B8E-4A0E-8DE1-87875C570261@gmail.com> References: <67C5668B-A842-4280-A555-74D9AD99D142@gmail.com> <3C0D5C461C9E904E8F62152F6274C0BB3BB7271B@shsmsx102.ccr.corp.intel.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: Fri, 07 Sep 2018 15:57:09 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi=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 event= handler and one is by normal function handler). And I=E2=80=99m trying to print result using DP.efi, it shows entry for norm= al function. > 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 handle= rs should be the same. > Are the normal function calls and the event handler function calls you tes= ted in the same module? > If not, please double check to make sure the performance library instance u= sed correctly for each module. >=20 >=20 > Thanks, > Dandan >=20 > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of pra= bin ca > Sent: Friday, September 7, 2018 10:30 AM > To: Laszlo Ersek > Cc: Bi, Dandan ; edk2-devel@lists.01.org; afish@apple= .com > Subject: Re: [edk2] Performance enabling of Event handler >=20 > Hi, > PerformancePkg is not working with event handlers, but it=E2=80=99s workin= g 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 ta= ken 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