Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp865352ybe; Wed, 4 Sep 2019 08:53:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVtv7rZj97Ze8NM/DP8CAU8aEcHxMNU08ni8zKya0ASiDegWFID7VzmueqLr8ZkwK68EAq X-Received: by 2002:a17:90a:17ab:: with SMTP id q40mr5850046pja.106.1567612402661; Wed, 04 Sep 2019 08:53:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567612402; cv=none; d=google.com; s=arc-20160816; b=aYhSWk3JqnXUimP/VI+UuTAp4nys4ESBUNM1HDrMOWr0ybbqphv1NAdWjXIKQXmjzv 7ACfCsMiiAQDxYmYM3OPhjG1esxDmpL3nwF3AFuq/4b5BMgiOmalZy1qMgRydwLJF9yP K4mnIyR7Q8Jn8ffmxb6awjGdWuW9s+5DhmQj/+8yinXLntCphkhJjhdcR+xts0jScKA9 MCeZkMTJlm67U6u3GyK7+DxgZCl4WnBezqG2nP6pM9S4PbgMpZVUF4nlryVuOOynXSPO AI85IZRYBWD0jy4ri756fu0sO6hijrbqhI0MxSjF5QmBE/WXuQvg8MARN/IMWYxHYdzu PrgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=pFAvPhoN2SvcycRnus8t/fejSDRA815fnGKeS148qbU=; b=Ej+VRG78VxNquvc10M9ia7++wkNXdw9pmiVRpVRB3a4+8AfIY/nfz0Wgw9/qqFEwIA KkwRZbZnzwWMRrC7SQPRL3+9AnvXjvycxcfOCdvcG+CJwDzNODWDtsz+jiSsYz20YTfr e3ZvRYru7dD8vOd42zWDKsEcGnfpyjM7L5qNdUiayF2xMd4ATxOq2CJ6WXTFmZUm+wCL 5W2gSKtlE/1J2fVLPcu5wJguzWOyXaMx6rL9hHcaRSrDELLxntLy90RSOWybzjHviG2K /UW9vjEdTT4ZgW5LfOkBYwEebV/tqINeLFny+ttTZYIm6nxlTg7hxx7MAAAKfAKm11DT yGYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tdrzFPeY; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 188si17768651pgd.404.2019.09.04.08.53.06; Wed, 04 Sep 2019 08:53:22 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tdrzFPeY; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731429AbfIDPve (ORCPT + 99 others); Wed, 4 Sep 2019 11:51:34 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:33423 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731406AbfIDPve (ORCPT ); Wed, 4 Sep 2019 11:51:34 -0400 Received: by mail-lj1-f194.google.com with SMTP id a22so2997454ljd.0 for ; Wed, 04 Sep 2019 08:51:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pFAvPhoN2SvcycRnus8t/fejSDRA815fnGKeS148qbU=; b=tdrzFPeYQb2Z9jy0JbBpPVMKz4nczBWCgxlxrPnZLrrUKo1fe4CqyQALwV/cQP61dK dqpjtg2g/C3DS1xO2/oUgIV7CjsS+hDZ9mxDpQYzSpKQZPc7T5DKMlCTM10pqkrPo7Ri A6x4ysxckn8cuy7ASQK3K5OUDu+yyCreA2cfEFwiHwJIjAsaZa822LDPkCPF+G7S+njv 5ID/+iUKXiSfoeTgPg1o/s6epVqvpCGJqOTgs5KlsukY+qGfKfeg2734WrxsIqcFWv7H VoSOWES6v1RZJHORu0fwXUJwTv4BKSyVOyhoa62SUAVAOM8Nem2UttsFFLhXy1BNY6ew 1yoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pFAvPhoN2SvcycRnus8t/fejSDRA815fnGKeS148qbU=; b=hi4/GsW6J5VEU1jpwtqUTve2+yNHEWMn8nN1LXoCP/DhiuXieyxNyQDokYPXQ4BjN1 MLkV3xIR+DSjEzvSqeGQlHV8D5oJrM3xZi4TJgg8UPyWgLjvqgZXEbAZtk553+4aLlMw hcyW9GsMFABIJjdCHO7ougrmEKtV3ru0H/fhv2xWrQcGVzTd6WfMEi83umn/WO/7u178 OKksm/qV20DSGmljb/SMBKaWstRuHvVW16X0XV5nczwZhZ3BtyumBxVHBy/dms9Wbccf UKFJf6xPMYfQLS94ElnJzkpZnEVrmhIk3aVu/WyGstiv865xE+625nump4YxKqxyuTQG 29Jw== X-Gm-Message-State: APjAAAVdfSj/nfKb02x8wjVlyJD+AJbIk3aWS1ECG7v210d8N6MjDkIc aSD0AiUr+tQy6KJnLK8bKJu+/p3S9QsyoRN8aTY= X-Received: by 2002:a2e:a40e:: with SMTP id p14mr10160052ljn.29.1567612292650; Wed, 04 Sep 2019 08:51:32 -0700 (PDT) MIME-Version: 1.0 References: <20190903154340.860299-1-rkrcmar@redhat.com> <20190903154340.860299-3-rkrcmar@redhat.com> <20190904042310.GA159235@google.com> <20190904104332.ogsjtbtuadhsglxh@e107158-lin.cambridge.arm.com> <20190904130628.GE144846@google.com> <20190904154000.GJ240514@google.com> In-Reply-To: <20190904154000.GJ240514@google.com> From: Alexei Starovoitov Date: Wed, 4 Sep 2019 08:51:21 -0700 Message-ID: Subject: Re: [PATCH 2/2] sched/debug: add sched_update_nr_running tracepoint To: Joel Fernandes Cc: Qais Yousef , Valentin Schneider , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , LKML , Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Borislav Petkov , Dave Hansen , Steven Rostedt , "H. Peter Anvin" , Andy Lutomirski , =?UTF-8?Q?Jirka_Hladk=C3=BD?= , =?UTF-8?B?SmnFmcOtIFZvesOhcg==?= , X86 ML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 4, 2019 at 8:40 AM Joel Fernandes wrote: > > On Wed, Sep 04, 2019 at 08:25:27AM -0700, Alexei Starovoitov wrote: > > On Wed, Sep 4, 2019 at 6:10 AM Joel Fernandes wrote: > > > > > > I wonder if this distinction of "tracepoint" being non-ABI can be documented > > > somewhere. I would be happy to do that if there is a place for the same. I > > > really want some general "policy" in the kernel on where we draw a line in > > > the sand with respect to tracepoints and ABI :). > > > > It's been discussed millions times. tracepoints are not abi. > > Example: android folks started abusing tracepoints inside bpf core > > and we _deleted_ them. > > This is news to me, which ones? those that your android teammates abused! > > Same thing can be done with _any_ tracepoint. > > Do not abuse them and stop the fud about abi. > > I don't know what FUD you are referring to. At least it is not coming from > me. This thread is dealing with the issue about ABI specifically, I jumped in > just now. As I was saying earlier, I don't have a strong opinion about this. > I just want to know what is the agreed upon approach so that we can stick to > it. > > It sounds like the agreement here is tracepoints can be added and used > without ABI guarantees, however the same is not true with trace events. > Where's the FUD in that? Anything in tracing can be deleted. Tracing is about debugging and introspection. When underlying kernel code changes the introspection points change as well.