Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp823028pxb; Thu, 17 Feb 2022 15:50:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxvOCOZyMm364679DYxRpqbwn7w/JIaLMz/rIZYXXTaKz64TgFS3ZPdtz/PKWiQSf8lukGc X-Received: by 2002:a05:6a00:26c1:b0:4e1:3135:97a9 with SMTP id p1-20020a056a0026c100b004e1313597a9mr5385104pfw.13.1645141826117; Thu, 17 Feb 2022 15:50:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645141826; cv=none; d=google.com; s=arc-20160816; b=TT9fgLE8Tij41Rp7hJUPtjMhqxfsvJTeyEOAqpJUI/fpSXDKxcCGA3zgOdADTMObcx bC6rIFVjixxv2+0vHMUc1ZwSgsUGPuS7Tp6XNMf6vrxYXL0ZOBdywATh2f8Fn6XLYsgG DQga968gaJfBfpQkx8hEvXgtIBJKFn3LK+H73cOkyBbGZKt+7FP63FRoLfaYtJkLj7XE SddBMQAx1ylm/RlmFcNc4RyV4hrrYsq0EuQEOYKQn6j+9/BLcyF8yYxpwNgol3kpjcoO VvDTLC1Fql9KL493Xo+lg+rllKC4P/zQPZz1CBRMo0UZ8YeMbMWJLYBjucFJbl/DY4Sr 2JPg== 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:sender:dkim-signature; bh=5TBlHGHH+WgnstAw4WAM7waOCG5SUDRAM7hFFIagCrU=; b=NzU/vMjs2EwTnDJLM+bphjRFwwCPH/JsZAOzFBBlp3Dht0Gbui1rMWbT680Uo22Lcg 4zbVh02m3sbpPBZFqJz/jYF2s2HAScsnvnIaKHvlINK9u/VgoSJ1Z0B0TGUm3VRkwSj+ Y2Vpa13T955OZQ42rqCtfmqDHtoa71bFxwH8QXYbPOseCNiuk4uR9ckWutuF+e85xgHB ruyxD+wvqpYMSxBnGG4uDQjyIX/JkHnmx9FD3dzIvOW9m0AyJiFczG4FQogEbVXSABKo K45Wfx9xZ9+f+JfT6I/CJJrSt5OHd/5ckgJUy+e3hoMPCAI9x57Zz9xmQSX4YjziPkvK MgcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HLY4SPMB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e12si947218pfv.333.2022.02.17.15.50.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 15:50:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HLY4SPMB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6E57E45799; Thu, 17 Feb 2022 15:23:09 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243697AbiBQR1c (ORCPT + 99 others); Thu, 17 Feb 2022 12:27:32 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:50152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233104AbiBQR1b (ORCPT ); Thu, 17 Feb 2022 12:27:31 -0500 Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F0F218461B; Thu, 17 Feb 2022 09:27:16 -0800 (PST) Received: by mail-qk1-x733.google.com with SMTP id j78so712627qke.2; Thu, 17 Feb 2022 09:27:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=5TBlHGHH+WgnstAw4WAM7waOCG5SUDRAM7hFFIagCrU=; b=HLY4SPMBxh4NKJbgQKdTkOF1EKwda6K8LQMPuV36UURJxnp7c4cFUN7jKyV05Ha0JT ubSD9THez92siIbroSve2L+60SunhnDrredJrG/kd8HxyGw1J6LhbEkgN3Lm+S0R8Dki qwO6hj1XbpB6NkUgQ84Oy/OV+Sbji6p57xqSFrRNZ8us8dbQ8sXhvvJ8PjS6Q/dT1ksj 5rj3nmge7i+rX00ahzikCfer3Jv8T0UkehawWYdt12kZVJtj5akb4J+p2+UelxXYyfjI SFbE5tkLerjDF+R1tj2kzFP4jmcyOL2S0NwaAgmE6YAtuO/MVsoxtyRUuV7hWoF/vyPQ yzrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=5TBlHGHH+WgnstAw4WAM7waOCG5SUDRAM7hFFIagCrU=; b=PPvdBwa+oKJYS1FNHDC+SJLIxRjOiCzr5ntDpfSTTxRLtCNBPDdkl5Jq94XxH0LskZ JWNCE/PMi9VpcDRkRqrq4SsBSkyQLtDrNFTHzjzZ9r5HbRi1CyqKCQHsAaUHLeIWaio7 i4VZpCYo5hNkKu634I5/LjEgZbjOzsILzA6VfHrpxb2bH9XroZk/JQL/MIAmKZKTJU8b e2ReMuI1DGp4eVVoLTFS6KaQRfiZFNAwI2zV2RdFEpNaoXjpvUUN6S2y7kYyzY1zOhT0 SrKsEwBzzabyMx2w6UYMHNX2njI950lNyl6I5Gmpk/occ91FezVyRtjSY5zwMbyeyL2L WgVw== X-Gm-Message-State: AOAM531V8tTMRaXWCDLlsd/YH8sEUMJD+UjCmrLp5GIJMzuEjNGlI+RW RNFSRtOKOV3nyDX2XWtHtU8= X-Received: by 2002:a37:5345:0:b0:47b:e4b3:48ea with SMTP id h66-20020a375345000000b0047be4b348eamr2287957qkb.35.1645118835811; Thu, 17 Feb 2022 09:27:15 -0800 (PST) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id o17sm11404887qtv.45.2022.02.17.09.27.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Feb 2022 09:27:15 -0800 (PST) Sender: Guenter Roeck Message-ID: Date: Thu, 17 Feb 2022 09:27:11 -0800 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: Daniel Bristot de Oliveira , "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 , 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: Guenter Roeck In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,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 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 ? Guenter > 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