Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4494084ybl; Mon, 13 Jan 2020 14:54:15 -0800 (PST) X-Google-Smtp-Source: APXvYqwVMiJbQnvmByiEJ0VLxozFRwFXO+l5wKGDGtoSUCQ3sKQvv1J+z/UQklFw6GzvKWmU0VXz X-Received: by 2002:a05:6830:1353:: with SMTP id r19mr15125552otq.288.1578956055164; Mon, 13 Jan 2020 14:54:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578956055; cv=none; d=google.com; s=arc-20160816; b=vmvpzrj80LwoHoDMrdUB1ndKUtEiQ6Y3MwvRhT0hmY32fFjQvZMSP7u+Mf940LGIwe ixv++d53wZ9ed9DRqVY9QjF2DmDHlNdPkuM12xdMEFuC6wtNYQ1dSTtgeOXFROvpaFGl 2j31aRSVWDH0wLb1HwxZuXmrRnTudjQSivG5w5krFpuR2COSyIUlKyG4JUiwt41+sY3e NTmYi7c9aJJsyFC5ONYNjbv8/8rsTlg8AzaD6CxP+vt4zaNz+Gi1k9Ef8gHtiWITAohd 2u6OSmU/kpMt09oxiiPTFZvi7howPuaX0raoORwikbvtmfQZJkuL8+GdzZkY3u+04x6D imug== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XRyrRpiArmfGZDdTSM1qurigf4c1+HwEG68J/F/iDCs=; b=ArjejsPU621vP9lyp9Vn65SSddRI4sHJSddh4lKaqX6w+n2D+1J3cQo3D07Ra8SYjS 58QiFobbOYkyg0rOGx6s85pWZUbgmD0xWqSmld7CZ7ou13vYMOUkt537xIi3ePfiKd02 2UGmQazMXP149PsZoE+BKKQbpeQ1tViRwpf/u0rc7W3Ah9v6/GZsVH1s/UB4FpCqIO23 ZiLFgh/Gq2NEWg/UhpPHeyal1j89XpQe+jKZbM3Ce8cP14KM6djv+XqXlq6DCDLozzCb 2GwyZULl2CxqZ1j2/V5paSEfyMsA+nPsBmVx/8vmxWSNuf0JLLxpC5qh4hEcA08VRpTY kSvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=I1OQAp6U; 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=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12si5358035oto.230.2020.01.13.14.54.03; Mon, 13 Jan 2020 14:54:15 -0800 (PST) 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=@oracle.com header.s=corp-2019-08-05 header.b=I1OQAp6U; 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=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729088AbgAMWwx (ORCPT + 99 others); Mon, 13 Jan 2020 17:52:53 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:38138 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728986AbgAMWwx (ORCPT ); Mon, 13 Jan 2020 17:52:53 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id 00DMnAUm020570; Mon, 13 Jan 2020 22:52:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=corp-2019-08-05; bh=XRyrRpiArmfGZDdTSM1qurigf4c1+HwEG68J/F/iDCs=; b=I1OQAp6UApGuFSzI/nOR9eQa4whDMZPmMSMyJe5WPSP5DklSmPhyTws8LO0AHD1qIWMa R7ZE42R2/y64F2SfkRHq4m3sMGTbtH0DMSBtxjYzFGs7qf82XkVenEsFAfI6yPhpo19d rwBpdOV/Z0ijUwV9bmyJ5IcPkG6BmefQgZPIgJhZ2DUV9ooQnOi5yFBRNZUrGAyoVPQq E6mlWieL7j/Gi/kxdmwHvfEUU1yI5Ykzrf1cfZYEIoEwpjrSCAsVHBE0QIAkW6WJS8xY wyEUyekZ6HcBv825sHlH9BtSRe/DIcaAf38MfNHSg64vAnC0zjE/fy1bbf58HGKZxGAR vQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 2xf74s23r2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 13 Jan 2020 22:52:49 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id 00DMnexk064633; Mon, 13 Jan 2020 22:52:48 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 2xfqvtr59x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 13 Jan 2020 22:52:48 +0000 Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 00DMqmAS029497; Mon, 13 Jan 2020 22:52:48 GMT Received: from localhost.localdomain (/98.229.125.203) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 13 Jan 2020 14:52:47 -0800 From: Daniel Jordan To: Tejun Heo , Lai Jiangshan Cc: Daniel Jordan , linux-kernel@vger.kernel.org Subject: [PATCH 2/2] workqueue: remove workqueue_work event class Date: Mon, 13 Jan 2020 17:52:40 -0500 Message-Id: <20200113225240.116671-2-daniel.m.jordan@oracle.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200113225240.116671-1-daniel.m.jordan@oracle.com> References: <20200113225240.116671-1-daniel.m.jordan@oracle.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9499 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2001130185 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9499 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2001130185 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The trace event class workqueue_work now has only one consumer, so get rid of it. No functional change. Signed-off-by: Daniel Jordan Cc: Tejun Heo Cc: Lai Jiangshan Cc: linux-kernel@vger.kernel.org --- include/trace/events/workqueue.h | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/include/trace/events/workqueue.h b/include/trace/events/workqueue.h index bdfc53e7f82f..9b8ae961acc5 100644 --- a/include/trace/events/workqueue.h +++ b/include/trace/events/workqueue.h @@ -8,23 +8,6 @@ #include #include -DECLARE_EVENT_CLASS(workqueue_work, - - TP_PROTO(struct work_struct *work), - - TP_ARGS(work), - - TP_STRUCT__entry( - __field( void *, work ) - ), - - TP_fast_assign( - __entry->work = work; - ), - - TP_printk("work struct %p", __entry->work) -); - struct pool_workqueue; /** @@ -73,11 +56,21 @@ TRACE_EVENT(workqueue_queue_work, * which happens immediately after queueing unless @max_active limit * is reached. */ -DEFINE_EVENT(workqueue_work, workqueue_activate_work, +TRACE_EVENT(workqueue_activate_work, TP_PROTO(struct work_struct *work), - TP_ARGS(work) + TP_ARGS(work), + + TP_STRUCT__entry( + __field( void *, work ) + ), + + TP_fast_assign( + __entry->work = work; + ), + + TP_printk("work struct %p", __entry->work) ); /** -- 2.24.1