Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5241580ybi; Tue, 4 Jun 2019 03:41:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNr7t5RuTzY/X4IIZpvJ5Mgzb+Y2iky0y/nefU1yAZbHIYNSK7mztqr1AYkTBURfRLOOKo X-Received: by 2002:a17:90a:c503:: with SMTP id k3mr36656399pjt.46.1559644860904; Tue, 04 Jun 2019 03:41:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559644860; cv=none; d=google.com; s=arc-20160816; b=ciskZp8J4TN2lgy8w1z28zRZsk9yVyIxPC0Pz3FqPbGohYSx9Zxw3O155LkJzTm3bA rIUvLSktSdk/zp0obUeGiKNeg6zhxv3YDwfbh9Xa3OJOzZBgZgVKa8dDf3lswuLWuiam vYeA5M/bXvDKEzpBSRVNpVD7akO803kX7ooTdAeb6q2zycGq5Qz8U5jb1zn2Tog8ULmG 7LV7edxUqb3aws7A1aJ2/Yt+mN3UvMrGFw1jrPLG6lLVJoFfFFe3KmkVjdieImtN2PTo nmKgJuq1uxXuXKkBcaX/w2KXJp177zlAP95229QL6nIvt9XBXnRdEEGEpYYXaEAsSAec 0+Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=PA1Zzos5/GV4W8WBqLWjw97Q+q76gYiUhMTLzyflnfQ=; b=VBeJnWxk1fiz6vewJOnmuTnq2yOm2KPyxNKbJzMKuWFr5oEEOXl/5gNQaiGbR/O+XH 6CLD1XsC8b9l3bX6dYiUjWNi+S3gTErJSlPxEOtEjEe4oUaCWmdTx/lmgZs1yHhNovhP p0SY7yHIsse19nc7DUuUjP9GHv47yq7XcL5UO3lk/PyrLTcu9LfxkrxTYm1udQegRAdd WZVLQT8n4BDX5yyjF5+IlksaJZJjRpokVu4iO/EySVr9v0jEpK3IbhJYd4Nyf2ogVR+4 LK0SI952C44i6/EyI0tiDnbqTIUUktDsdan50mMnVHxufJmfjp3oaNfFTAbLPAs1kkQL MttQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g95si22798134pje.41.2019.06.04.03.40.43; Tue, 04 Jun 2019 03:41:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727240AbfFDKjb (ORCPT + 99 others); Tue, 4 Jun 2019 06:39:31 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:33593 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727157AbfFDKjb (ORCPT ); Tue, 4 Jun 2019 06:39:31 -0400 Received: by mail-wr1-f67.google.com with SMTP id n9so2828895wru.0 for ; Tue, 04 Jun 2019 03:39:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PA1Zzos5/GV4W8WBqLWjw97Q+q76gYiUhMTLzyflnfQ=; b=iT7PYlIp3xNQotnXSiWvla3mpqSIUwm3rqgCjf5lRoTwQL065LdOy3hyRnP1QBnOqF F/8Atv/w9NWDXxZYqVBRpjjxuRRr+jMkIJhLMxuPnkvzlYZiAJXyubbzN0nNtuXF+TJ5 EC1Q5MSduM9HGHnu/GqP02usgCwg8jFIy9fa3ZFtSeGg3aWQePzZDM0XO322au0hWfHK xKtl3f8Po595NUNSC8FLk249UkpIA614tOL/ClYOlrPFOFnLLrUcc0HKZAJSDlVwBpBw vQPVLUS/r8UYHWusmI6OfAM88lwvAZUQmRqd2PvLiRrZPFGEV2WdlDfHdlss5rk1zWzd +6FA== X-Gm-Message-State: APjAAAXhOaD823Haidyo/A5JvJnfBp8OtylXE5q/sUt8VQx9lQLw5kRH fDd74zFMskXPISqtbXVV38041A== X-Received: by 2002:adf:e583:: with SMTP id l3mr788137wrm.1.1559644770035; Tue, 04 Jun 2019 03:39:30 -0700 (PDT) Received: from t460s.bristot.redhat.com ([5.170.68.106]) by smtp.gmail.com with ESMTPSA id u13sm2979265wrq.62.2019.06.04.03.39.28 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jun 2019 03:39:29 -0700 (PDT) Subject: Re: [RFC 1/3] softirq: Use preempt_latency_stop/start to trace preemption To: Steven Rostedt , Joel Fernandes Cc: Daniel Bristot de Oliveira , linux-kernel@vger.kernel.org, williams@redhat.com, Ingo Molnar , Peter Zijlstra , Thomas Gleixner , "Paul E. McKenney" , Matthias Kaehlcke , Frederic Weisbecker , Yangtao Li , Tommaso Cucinotta References: <20190529093056.GA146079@google.com> <20190529082248.76bb7a6c@oasis.local.home> From: Daniel Bristot de Oliveira Message-ID: <835664be-a8ef-d164-4bf9-e0918413796c@redhat.com> Date: Tue, 4 Jun 2019 12:39:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190529082248.76bb7a6c@oasis.local.home> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/05/2019 14:22, Steven Rostedt wrote: > On Wed, 29 May 2019 05:30:56 -0400 > Joel Fernandes wrote: > >> Yes, I think so. Also this patch changes CALLER_ADDR0 passed to the >> tracepoint because there's one more level of a non-inlined function call >> in the call chain right? Very least the changelog should document this >> change in functional behavior, IMO. In practice I am seeing no change in the values printed, but there is another problem with this regard: there are cases in which both caller and parent have the same address. I am quite sure it has to do with the in_lock_function() behavior. Anyway, I was already planing to propose a cleanup in the in_lock_function/in_sched_function. I will investigate it more. > This sounds more like a break in behavior not a functional change. I > guess moving it to a header and making it a static __always_inline > should be fine though. Steve, which header should I use? Thanks! -- Daniel > -- Steve >