Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp801513pxb; Thu, 17 Feb 2022 15:17:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWlUIIUlODVhOaQsFzJkLj/D566n5UHAh5xCfJywP0H1krXczGpNbkQvT0GchjJjAVE6f+ X-Received: by 2002:a17:902:7c84:b0:14d:66b5:8233 with SMTP id y4-20020a1709027c8400b0014d66b58233mr4750838pll.3.1645139834814; Thu, 17 Feb 2022 15:17:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645139834; cv=none; d=google.com; s=arc-20160816; b=njRHRG4MbhhYJWZ3ntM8zVz6+xfdFbILwK+Q9WwiCEVHBfPwP19wGRfQQxbsRrJUcf di5DU98vqgxTMKzFqdnJ3X9IVbC0BnN+HgWNBBKPiftQ+Tfz9YrAF3ADzxEU6YJMQYQa 0yOnfeXHhPmx4IUGVxL7pKQUgWVILymAOymFmkGN2PtTwUI3tk640hBX+oXKxUEnE62A fIRxfa2drkfGAifwpfBzQvv177AFIWagzl87anlbDHtZa7dTDOGjEEI8VIO1d9UgkYxj dzm6+BMdIPCUA3hapQj6yxpJDACP5w1Vz0DgagRGmuFxXHhSqD41t54U/jX/8VI2PH5H 2q3A== 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=IVFanclu+tWJ0aJqEPjR4xzJ9g5G7S3yeHgF6wnwYTU=; b=ukWSrQcG7i6KXSnO/FpIIkGsaphO/5g8Sis2G1zZXzOEsW5U1EdYxy14Y2KBPGF2kK jRkNOCP+WykPaNI+nFX+++E7yObY6LDJT3TrawOuYVkD/9rKqXXlv6SMwLt8aCEUWBDZ Jk2dYGm+3BRNfgVuAzTbXGnRZmDF+OetpAwCso+ZPQ2uz/Eq6jjfut/SQJYT3em37Atu nClvHANqU0MvM+QrFUksqH0wDAPtnvKJn2twktZmB2SHfep82Sq6kJt854upxH42l88w Loe5oYJ167wMEKk+ihWGsjBAv4imJ9OFrivStUwJ1UQOxG9jfTEO8T/dEvv/vDGJTw50 Oy4w== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id be6si10104522pgb.869.2022.02.17.15.17.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 15:17:14 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A22875FA1; Thu, 17 Feb 2022 15:06:32 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243095AbiBQQ1f (ORCPT + 99 others); Thu, 17 Feb 2022 11:27:35 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:59540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234411AbiBQQ1e (ORCPT ); Thu, 17 Feb 2022 11:27:34 -0500 Received: from gateway31.websitewelcome.com (gateway31.websitewelcome.com [192.185.143.234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 036809AD9B for ; Thu, 17 Feb 2022 08:27:19 -0800 (PST) Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway31.websitewelcome.com (Postfix) with ESMTP id BDEBA5351F for ; Thu, 17 Feb 2022 10:27:18 -0600 (CST) Received: from gator4132.hostgator.com ([192.185.4.144]) by cmsmtp with SMTP id KjckndtUx9AGSKjcknQY06; Thu, 17 Feb 2022 10:27:18 -0600 X-Authority-Reason: nr=8 Received: from host-95-232-30-176.retail.telecomitalia.it ([95.232.30.176]:34148 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 1nKjcj-003u9J-0E; Thu, 17 Feb 2022 10:27:17 -0600 Message-ID: Date: Thu, 17 Feb 2022 17:27:09 +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: "Peter.Enderborg@sony.com" , Guenter Roeck , 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 , Gabriele Paoloni , 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> From: Daniel Bristot de Oliveira In-Reply-To: <96f418b4-0ba8-01fe-ead0-2028bfc42560@sony.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: 1nKjcj-003u9J-0E 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]:34148 X-Source-Auth: kernel@bristot.me X-Email-Count: 3 X-Source-Cap: YnJpc3RvdG1lO2JyaXN0b3RtZTtnYXRvcjQxMzIuaG9zdGdhdG9yLmNvbQ== X-Local-Domain: no X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE,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 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. In the case I am investigating (the safety_monitor/safety_app) the bark is outside of the "OS" view, it is an hardware action - like. shutdown. Am I missing something? Thoughts? -- Daniel