Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp761495lqo; Fri, 17 May 2024 00:09:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWGMiwRF3wpbdfTQSx7PHDcP+r5+1tpbjs3uJXe7sNL/662+M6dywZabxnzEcfcRZuPG0ipY5+IQY9Xpv+hen2W4wkQNuLN2wYcnd/9Mw== X-Google-Smtp-Source: AGHT+IEVQiW9+DntvvPgls54ymVK9GX1+baSk4UIn/RQWEuLYJJfeEeTdR2k16ojmZ0KkXEwfhsO X-Received: by 2002:a05:6808:2129:b0:3c9:7f1e:76cf with SMTP id 5614622812f47-3c997069fd8mr25014845b6e.31.1715929743336; Fri, 17 May 2024 00:09:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715929743; cv=pass; d=google.com; s=arc-20160816; b=vIk2kvw5Wom9TVD19raKlKE00EySgrDuz2XyvRoVTidGhV8TIP5klHj3wj8O9RJXK5 D7Fm5THdW82CQB3cWUcrvZYC6jiODXT1QLAWb7xy2RXsuwRHMn1jo3u6sEgBlo2qGz3M DRdMNOy0CuFGV5sUfSk8YFyYJw4r/KzXD+7YFSuWENlU+PDXDf9QvaJLiJ2C/beHXh2R oG/GmQ4Yl35gyweUPHmcbeI56d2iWdl7BrzcquPH/I/nkKkWvviFPwri1OtmpUC8KiYw ZJwHREXXRPIPfqPf8x57E6mKzTtW8VyfaVZ2Cpo20lOdV5Mf59VbI16ZjaNKj6CeTy4w gumg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:organization:in-reply-to:subject:to:from :dkim-signature; bh=AGcEinLcTOmsST5raT+HtEieeYtE2j/7F/pnXrwMPIs=; fh=DYHvIzS9leLpxuz5+UUmG6NkHm/ZCQBrkA3DXageV4k=; b=p67nUSBbeGMANMAjQ1ryQJ067QQr2O/xIqH6/8Vy83RX71uhXh612D5DY+ILgT0GK2 o5PVKSwY/aZkuGaEwSRpnfoeQi9xaf4+ADH/1fmZen/Et8vNleLJkoItt083OM33sur1 Bk/Bpp0QO9e2Z5mxD/eZI+Rd2yyNNt1OWv5YIBf6BFJM/C5rO1bgCGGOU/SgE75u0G0a Fhd8rHGMsJ/b373h+FBTgwKb14SNDVdA3ngEDoDKGCuWi0nyYbNqHwW8UkKa4V0jSVEp p5y4d1A9Nk0RLoMCqYTxJXtFl41YtMLaLH50GQtlZXccsMz6a9Vb3m0gHentsMsvhkzT W2xg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QVJKtj7i; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-181777-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181777-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792bf30b6ddsi1776172585a.234.2024.05.17.00.09.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 00:09:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181777-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QVJKtj7i; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-181777-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181777-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1022C1C2074A for ; Fri, 17 May 2024 07:09:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 224AD15AF9; Fri, 17 May 2024 07:09:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="QVJKtj7i" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F1FA182D2; Fri, 17 May 2024 07:08:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715929740; cv=none; b=DH3pzesOcPd6qH3JlMumGCdUg6t+8jKRzfsPe2ypIzyCCqfLLUQXhDGoX57wqufGxs4KXgcZWy1uRv6E9IGYKm+P6aU2kgHQAIl9OkjR/MI50//ENE9Vw/1B6MXwLkGqtUbpw4r8qloB6Td0UhcsSAwR4IoOndwbTCMuGu+Btg8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715929740; c=relaxed/simple; bh=4jzPqLE03YaaobboDAOp2dTTKo+Dv0gOxstOpT6a3Yk=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Sba9kOsxj6vlU1rdO7ZXszoQCp+lOuwGi2TwFmO4njWyp0ybnZuUoKpeQ4AmzoJsTq2TCdNdJaBGQTYX2bI5z0/czeabbQktfj6OxZQHyIcm1gJwnDdecNwUmpIQ/3GA0KiSqw4ryX+f3Ft3l+EK4fvszWpgU3FqALaTAYxr87A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=QVJKtj7i; arc=none smtp.client-ip=198.175.65.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715929738; x=1747465738; h=from:to:subject:in-reply-to:references:date:message-id: mime-version; bh=4jzPqLE03YaaobboDAOp2dTTKo+Dv0gOxstOpT6a3Yk=; b=QVJKtj7izjOEd+uFnQI99k7bGnjNwv0tHkpJ17rK6gxw7lp8vlWdviRm fd1EB2ZpuDdkpWPIJt/FTqWbjPdah83H62bt2r5BhYgv9nWlvJBwU2mii V5fLgfpP8rUDSAHqdTkRefvOCDmz6DH+EgUP/cUJl3v0pjhrDXziquhVE jHOKNU6eTYAQU19fGi/jUUB5aFKkJDSmM5TgQLfkCVkmrUTUg03fvhUA2 cF98n/wgCbScfcFihS5MIU3orChgPK5sVEBmL+UlHX3nLfqxMJlJqJAn9 2ycKW1yoxG3SXSiN6akU7Puf3qZ/yfcC7LjpSG3CtiyknrWbiz7fJEEzW g==; X-CSE-ConnectionGUID: nGV4/y9wRcSvj0sSJwq3LA== X-CSE-MsgGUID: C1jgGfKGQvKnnFuMPXcbmQ== X-IronPort-AV: E=McAfee;i="6600,9927,11074"; a="15874362" X-IronPort-AV: E=Sophos;i="6.08,167,1712646000"; d="scan'208";a="15874362" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2024 00:08:57 -0700 X-CSE-ConnectionGUID: JMEU4XzbSSu2JbTzsqsv5Q== X-CSE-MsgGUID: +SmkfxHOSDugv0gdQkR9pg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,167,1712646000"; d="scan'208";a="31837613" Received: from fdefranc-mobl3.ger.corp.intel.com (HELO localhost) ([10.245.246.7]) by orviesa009-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2024 00:08:56 -0700 From: Jani Nikula To: Steven Rostedt , LKML , Linux trace kernel Subject: Re: [PATCH] tracing/treewide: Remove second parameter of __assign_str() In-Reply-To: <20240516133454.681ba6a0@rorschach.local.home> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20240516133454.681ba6a0@rorschach.local.home> Date: Fri, 17 May 2024 10:08:51 +0300 Message-ID: <87eda0c3uk.fsf@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Thu, 16 May 2024, Steven Rostedt wrote: > There's over 700 users of __assign_str() and because coccinelle does not > handle the TRACE_EVENT() macro I ended up using the following sed script: > > git grep -l __assign_str | while read a ; do > sed -e 's/\(__assign_str([^,]*[^ ,]\) *,[^;]*/\1)/' $a > /tmp/test-file; > mv /tmp/test-file $a; > done Try 'sed -i' ;) > .../drm/i915/display/intel_display_trace.h | 56 ++++----- On i915, Acked-by: Jani Nikula -- Jani Nikula, Intel