Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp67349pxu; Tue, 13 Oct 2020 16:55:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpOQRMqf5nt5dzhENUU24BZVvlKRB2IgzfG0bjziliOfFuHrPSrwlIL2Mno2NgHrcAgV/o X-Received: by 2002:a17:906:c293:: with SMTP id r19mr2280262ejz.63.1602633339337; Tue, 13 Oct 2020 16:55:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602633339; cv=none; d=google.com; s=arc-20160816; b=iy7/D1hP1zz/H9XY0vtMCsy9VPJjLSH2h0ad8R+/gMY0amDCn+Zpn6W0l9luiMxvKp v7V8FvT/BiTC3Pl2iu5ENqDESQRq1CP3CHTf5Is7OWUMo/expqCbJF8JIlv/0wLut0ps vMb7KZyqnuqgpXfeWZdfo8ToPMnY1IOt6PD5sf/NPSK7c4WnwczH8TABMtDEsJ8lnQyr MhuLBUx9AW7ZGZwIlTladu5kC9bHUajepQn0f/MdYMSuOto4JMXPYQH6usPaQGMZ1hDk iJGsSxBsaemcezC+50VoEDR/6IhuU4DMb3vIM5Mwyy4mH/X4wu2s4ax4nJItnQACFnyg JlRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=5A/wMexNlERgv8ndahg0Kfhkqmz/+pr0QsOW0t5ANKM=; b=hWhGLM6qmMyF9W5Y60EjKEkdZqCdB5s99jdX0eOv5sKo+WHVUzVVZqnB4w6wd4D0fe /U/4JtaZ9qBzt62DZVLynSNK0IG849VROaAWHlLxwEOQ32sf5kpAS8Me5JPBoa3YgSBP WiPzfzYjS3mMwP5NcmLlFm9LZL72+OwhgmyvTTZ8PiAfKiRtz+jT+w8k1N99oJoAGS2I GggIpFDKO03vbGV6rJZSeQEN17JNHU9EPxs2m272BbRtexPQ7TJt6C9SMluj2Mv97b6j pJiktp3zrPwx4pdy+4pxWCKDZWHco81s0VDDTAnnznaFcDajBicN6FH7PfuCXiqRk2wE AjkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="t/cF5NTW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id l11si1057151ejx.564.2020.10.13.16.55.16; Tue, 13 Oct 2020 16:55:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="t/cF5NTW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1730550AbgJMOt3 (ORCPT + 99 others); Tue, 13 Oct 2020 10:49:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730236AbgJMOt3 (ORCPT ); Tue, 13 Oct 2020 10:49:29 -0400 Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03263C0613D0 for ; Tue, 13 Oct 2020 07:49:28 -0700 (PDT) Received: by mail-il1-x143.google.com with SMTP id j13so51304ilc.4 for ; Tue, 13 Oct 2020 07:49:28 -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=5A/wMexNlERgv8ndahg0Kfhkqmz/+pr0QsOW0t5ANKM=; b=t/cF5NTWVLah/DtugHW3FFg3mklSNSAwyTblssQl1DRqR+f8ITZWTXjG+AWt0FZ7Fj 0ozZy2D5Q0aUNkm1BJudD1pCUyLScUo8K77paKuGwX0j4Ittpy+nnDujrkexKl7ZrYj9 IqDGM810NIhQYt6qZyTr9rdtpQu8ceuoZlXkmhEU4ng77SQNWjO9pVEi8VsEu1manwm2 gtBJpiKD+IR8j+QYWvLC481xFOwxm6qm2ytJSYKcTp0uZ6QJKx9XiQ6YAilW4Mcr07HR DB+FlzlG6Nw2n1bFd/yLr9s1aMYhqyLkFjVYYe3+ldMO2tn3SXPdTuzmOFdtzLHBhhfB L51Q== 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=5A/wMexNlERgv8ndahg0Kfhkqmz/+pr0QsOW0t5ANKM=; b=TuavodgRDSFtogMZdvPZvhfOYNtmHE/9Fw5YBBIA9KsYszewa7GeRTHaAj7GQKMDAU LhFrvBQSdJt0mvJMmN9QTliPogZa6pXQBFnHYDVdNjpRk0UFgZTllGptm/DXZjxukM1P stCwtijGaLvGmZ8ATeCnKz47/U70T9E+3CIBKamslcyBHPj7EhZ3P/lvf0EKREJu5l94 uJK2XdHm63eKxwlLRsry+r8o+aAxx6gW8ybet4ClrEfQb+zP6xO4oxEpc5KnIzK0dbws bPHwmFipCB5lg43uepeHdxZIahFyOJC1IDa6NXSmefMsiX883oz/uxvNuqls8hvJOW+3 mDbQ== X-Gm-Message-State: AOAM5313gNAxZ080KQYbh/Tef9qvoz2gmayQ5paGh/cLhoz4SWm7tVGl psERrvrmlmsczkwTEgZw5pbi0mAkn3zJKfTsdn0= X-Received: by 2002:a92:7914:: with SMTP id u20mr230617ilc.203.1602600568275; Tue, 13 Oct 2020 07:49:28 -0700 (PDT) MIME-Version: 1.0 References: <20201013055454.52634-1-laoar.shao@gmail.com> <20201013090511.1f2f71f6@gandalf.local.home> In-Reply-To: <20201013090511.1f2f71f6@gandalf.local.home> From: Yafang Shao Date: Tue, 13 Oct 2020 22:48:52 +0800 Message-ID: Subject: Re: [PATCH] tracing: add tgid into common field To: Steven Rostedt Cc: Ingo Molnar , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 13, 2020 at 9:05 PM Steven Rostedt wrote: > > On Tue, 13 Oct 2020 13:54:54 +0800 > Yafang Shao wrote: > > > --- a/include/linux/trace_events.h > > +++ b/include/linux/trace_events.h > > @@ -67,6 +67,7 @@ struct trace_entry { > > unsigned char flags; > > unsigned char preempt_count; > > int pid; > > + int tgid; > > }; > > > > Sorry, this adds another 4 bytes to *every* event, if you want it to or > not. I'd rather have some ways to remove fields from this header, and not > add more to it. > > I can't take this patch. > Right, that is an overhead. I will think about some ways to avoid adding it. -- Thanks Yafang