From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 719C66EFDA; Wed, 18 May 2022 14:10:00 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 719C66EFDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1652872200; bh=ptrxO4e3R5lpazQeys3shAJ55D60+UcQc60+SbjtGqg=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=D1XZMk0SFvy5hPcsfKDx2Fh/J2CbwU88YT1WdLnFPOcpI1j65kADETyalqsDt6vHu 14n4Ao6iLw+65pmBKspfhbtzialpbu99PbIJgcvVLyfG+yP04eEEUV1HM4Wz7UZT0t 1xqWtMdAdagGnBuCIZ/I57+Gf/kbojX66OFZFoxY= Received: from smtpng1.i.mail.ru (smtpng1.i.mail.ru [94.100.181.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id EB7D66EFDA for ; Wed, 18 May 2022 14:09:58 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org EB7D66EFDA Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1nrHYz-0005C5-Kw; Wed, 18 May 2022 14:09:58 +0300 Date: Wed, 18 May 2022 14:06:23 +0300 To: Maxim Kokryashkin Message-ID: References: <20220511082521.389687-1-m.kokryashkin@tarantool.org> <20220511082521.389687-4-m.kokryashkin@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220511082521.389687-4-m.kokryashkin@tarantool.org> X-Clacks-Overhead: GNU Terry Pratchett X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9AB830312DE1E2EF83FFDFE29368BDF0C92BB308949727AF8182A05F53808504095049A0F3B28C520B60619A9122DDDE609EB07DEEE71B67DDC1E0274E9F68336 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE721D130CF676D2164EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637BC4B0F5721B555078638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D868C6523276CC82A0200F0751EC944D1D117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC292D688DDAD4E7BC389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC8C2B5EEE3591E0D35F6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA7E827F84554CEF5019E625A9149C048EE9ECD01F8117BC8BEE2021AF6380DFAD18AA50765F790063735872C767BF85DA227C277FBC8AE2E8B53A69B3AC30C7B9475ECD9A6C639B01B4E70A05D1297E1BBCB5012B2E24CD356 X-8FC586DF: 6EFBBC1D9D64D975 X-C1DE0DAB: 0D63561A33F958A5C7C3B8053B91529BACBF2A27D723B11694DFD1DF1A87957DD59269BC5F550898D99A6476B3ADF6B4886A5961035A09600383DAD389E261318FB05168BE4CE3AF X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34C2E47CA9A560609033D2C574F72E1C2B0070B2FD0D2F9F4CB3E38A03FBAB0BCB2F9A63826676D4C31D7E09C32AA3244C92CB46FF62F7FFA3D9657F4BFB3BDC65E8FBBEFAE1C4874C83B48618A63566E0 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojtNJAk7CcUJ2IG3jVS+BdZQ== X-Mailru-Sender: 689FA8AB762F739339CABD9B3CA9A7D63F0E3BE0B5E2706FEE193AB369B4CE18A7C8D0F45F857DBFE9F1EFEE2F478337FB559BB5D741EB964C8C2C849690F8E70A04DAD6CC59E3365FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH] sysprof: fix `SYSPROF_HANDLER_STACK_DEPTH` X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Igor Munkin via Tarantool-patches Reply-To: Igor Munkin Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Max, Thanks for the patch! LGTM as trivial. On 11.05.22, Maxim Kokryashkin wrote: > This commit fixes the `SYSPROF_HANDLER_STACK_DEPTH`, by chnaging it to 6. > The `writer` function is called right after `backtrace`, so it will not > appear in the gathered backtrace. > > Part of tarantool/tarantool#781 > --- > Branch: https://github.com/tarantool/luajit/tree/fckxorg/sysprof-rc-full-ci > > src/lj_sysprof.c | 16 +++++++--------- > 1 file changed, 7 insertions(+), 9 deletions(-) > > -- > 2.35.1 > -- Best regards, IM