Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp596555pxb; Thu, 17 Feb 2022 10:24:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxsRMOkk0/yD+E0Zt3hs/FrRoa0KhSBCUy8iIkSsHyPoLQdBLZhfYbF7FZs6t2KkTCAAdqK X-Received: by 2002:a17:90b:4a4f:b0:1b8:7240:1a47 with SMTP id lb15-20020a17090b4a4f00b001b872401a47mr8697094pjb.84.1645122288775; Thu, 17 Feb 2022 10:24:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645122288; cv=none; d=google.com; s=arc-20160816; b=YkwW/bYIR6YpV1tXDUkCX2SA8dH6xgvapl4JtPTTnHtRCgrgkojuUrSihAC5qhEQs4 OeETg6GTsOwmq+eFeQajbzD/YEQuyWOZFHufF0Cxol8fis7Dbox2Q9FGFlPQ1xqTX8MW ecenbRdhR9QwvSohHIdPQdrjlzttfDozRznYkh/NcotlOELcEh+Wl1cNRrBcrWx6KhS5 evKd7lRGaHvV3PyaDrhRB5ekChCS98QMOfA6pvSST3KPoTOrM07giXTOon9Y8hIX0T5E DK1OVaU/Ve2OV/Cf1fFZSwhwBA5XCGd/ZQVqfw8cvay3FAb/iPX/micAIoXKCqwErCKH R+Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=jrNIX4JT8V/0aqzBjPeoOW42OChVgQFQ/cyyfkWZFp4=; b=Jbl4EywrKw2V4HqNiKy5CJdzBRscsSpeRecH1bPSYFbnOZm0ClcS5BeHYZjZ/zRe9n 6mMyOX2paoDSgtzYQ4jSvB3FcsRcVb9K2pxjRNmu9+v6DMnj4xreQNquTjl0e5IigsOv ajDzMY+iPFAKDlSppZkpnkRk5L2ESyQJgSf3ylhqJZIY2TWBcqC1qCBU6Rqc+IgWcGuw mbuo7TbxHNd2ZSRzoksMG3F8mGTtQwDfAzyklfBLEJ8f0k0gEAtLCCvGfoqLf35kQHUI vJzsoxIfzZOyS8MzqVAmPa+B9wGeadBdHsiAqqRLy0XfoweRb9bZJPFtVyiDXxzYqntD 7ZrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x18si23664256plg.406.2022.02.17.10.24.32; Thu, 17 Feb 2022 10:24:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244178AbiBQSVa (ORCPT + 99 others); Thu, 17 Feb 2022 13:21:30 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:48392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230344AbiBQSV3 (ORCPT ); Thu, 17 Feb 2022 13:21:29 -0500 X-Greylist: delayed 1463 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 17 Feb 2022 10:21:15 PST Received: from gateway34.websitewelcome.com (gateway34.websitewelcome.com [192.185.148.164]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FFAB1712AC for ; Thu, 17 Feb 2022 10:21:15 -0800 (PST) Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway34.websitewelcome.com (Postfix) with ESMTP id 7B20A9D0E80 for ; Thu, 17 Feb 2022 11:56:52 -0600 (CST) Received: from gator4132.hostgator.com ([192.185.4.144]) by cmsmtp with SMTP id Kl1QnOOMnHnotKl1QnIGXq; Thu, 17 Feb 2022 11:56:52 -0600 X-Authority-Reason: nr=8 Received: from host-95-232-30-176.retail.telecomitalia.it ([95.232.30.176]:34154 helo=[10.0.0.45]) by gator4132.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1nKl1O-001Zrd-AE; Thu, 17 Feb 2022 11:56:50 -0600 Message-ID: Date: Thu, 17 Feb 2022 18:56:44 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [RFC V2 17/21] watchdog/dev: Add tracepoints Content-Language: en-US To: Gabriele Paoloni , Guenter Roeck , "Peter.Enderborg@sony.com" , Wim Van Sebroeck Cc: Jonathan Corbet , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Will Deacon , Catalin Marinas , Marco Elver , Dmitry Vyukov , "Paul E. McKenney" , Shuah Khan , Juri Lelli , Clark Williams , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-trace-devel@vger.kernel.org" , Steven Rostedt References: <96f418b4-0ba8-01fe-ead0-2028bfc42560@sony.com> <6c6fc4fa-6464-2dbf-40da-e3c61f322d95@redhat.com> From: Daniel Bristot de Oliveira In-Reply-To: <6c6fc4fa-6464-2dbf-40da-e3c61f322d95@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4132.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - kernel.org X-BWhitelist: no X-Source-IP: 95.232.30.176 X-Source-L: No X-Exim-ID: 1nKl1O-001Zrd-AE X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: host-95-232-30-176.retail.telecomitalia.it ([10.0.0.45]) [95.232.30.176]:34154 X-Source-Auth: kernel@bristot.me X-Email-Count: 3 X-Source-Cap: YnJpc3RvdG1lO2JyaXN0b3RtZTtnYXRvcjQxMzIuaG9zdGdhdG9yLmNvbQ== X-Local-Domain: no X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_SOFTFAIL, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/17/22 18:49, Gabriele Paoloni wrote: > > On 17/02/2022 18:27, Guenter Roeck wrote: >> On 2/17/22 08:27, Daniel Bristot de Oliveira wrote: >>> Hi Peter >>> >>> On 2/16/22 17:01, Peter.Enderborg@sony.com wrote: >>>> On 2/14/22 11:45, Daniel Bristot de Oliveira wrote: >>>>> Add a set of tracepoints, enabling the observability of the watchdog >>>>> device interactions with user-space. >>>>> >>>>> The events are: >>>>>     watchdog:watchdog_open >>>>>     watchdog:watchdog_close >>>>>     watchdog:watchdog_start >>>>>     watchdog:watchdog_stop >>>>>     watchdog:watchdog_set_timeout >>>>>     watchdog:watchdog_ping >>>>>     watchdog:watchdog_nowayout >>>>>     watchdog:watchdog_set_keep_alive >>>>>     watchdog:watchdog_keep_alive >>>> Some watchdogs have a bark functionality, I think it should be event >>>> for that too. >>>> >>> I understand. The problems is that I do not see the bark abstraction >>> in the >>> watchdog_dev layer. >>> >> I don't even know what "bark functionality" means. A new term for >> pretimeout ? >> Something else ? > From my understanding the bark timeout is actually the pretimeout > whereas the bite timeout is the actual timeout. So, what Peter wants is tracepoints for the pretimeout actions? -- Daniel