From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B161C433E2 for ; Wed, 15 Jul 2020 06:26:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0298220663 for ; Wed, 15 Jul 2020 06:26:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726893AbgGOG02 (ORCPT ); Wed, 15 Jul 2020 02:26:28 -0400 Received: from mga17.intel.com ([192.55.52.151]:63476 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725823AbgGOG00 (ORCPT ); Wed, 15 Jul 2020 02:26:26 -0400 IronPort-SDR: EIk66CuYAmNXFYycqxpyN7WddBRdTmh1FnMd5GiZQ7/2MeBvbZPSUqtHesbLkF6zgE3hmgHa+P klUXRM56du5A== X-IronPort-AV: E=McAfee;i="6000,8403,9682"; a="129180712" X-IronPort-AV: E=Sophos;i="5.75,354,1589266800"; d="scan'208";a="129180712" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jul 2020 23:26:26 -0700 IronPort-SDR: qyzu3FoXm2tWkSwHG44a1k2Dibq2ur1AEhKJ2qK5pwbqGYObv0eKKmB+cCWpy2dkClBDTDc34V DBnAWqrbBvCg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,354,1589266800"; d="scan'208";a="485615838" Received: from chenyu-office.sh.intel.com ([10.239.158.173]) by fmsmga006.fm.intel.com with ESMTP; 14 Jul 2020 23:26:24 -0700 From: Chen Yu To: "Rafael J. Wysocki" , Len Brown Cc: Greg Kroah-Hartman , "Michal Miroslaw" , Zhang Rui , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Chen Yu Subject: [PATCH 0/2][RESEND v3] Extend trace point to cover all runtime usage count Date: Wed, 15 Jul 2020 14:27:27 +0800 Message-Id: X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently some code flow of runtime usage count changes is not covered by the rpm_runtime_usage tracepoints. Adjust corresponding tracepoints to monitor all the runtime usage count changes. Chen Yu (2): PM-runtime: Move all runtime usage related function to runtime.c PM-runtime: change the tracepoints to cover all usage_count drivers/base/power/runtime.c | 50 ++++++++++++++++++++++++++---------- include/linux/pm_runtime.h | 12 ++------- 2 files changed, 38 insertions(+), 24 deletions(-) -- 2.17.1