Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp799449pxb; Thu, 17 Feb 2022 15:14:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJyg51zAskbw2lNSekEIf03GvLTde4qFumKsbyKjxpKhybbYTVcfLXTEPmXEMucMSFE1qsR5 X-Received: by 2002:a63:5644:0:b0:34d:f998:ad32 with SMTP id g4-20020a635644000000b0034df998ad32mr4137700pgm.513.1645139647445; Thu, 17 Feb 2022 15:14:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645139647; cv=none; d=google.com; s=arc-20160816; b=Nm5AKwlhP4QljacRmAl+2SidT2ajMpCOiL/RxXvBGecEbK5j0/YvhVknt+Tvy+xn33 uPZuva38pQlsYn3vHvG9zFAezyteVHECzN3xYv293Zgdz3ouJ0nwYmK0sCEl7NvfufHU SzsUY/iDqvD5mWG0LOIiMR2v0zw0I84W0D2+5WPd+J6NLmCGOb0G0G2kzHug7BEshcyN r4TW85+B2jyGG0WPMv/RAKTB5wGiRA0IJ46dhnUecZLhDYb5tzdLXLnYVD33IBPWJQjl bpEYk7O9St8u/VzdwtzW7ktQNQyNxHPMLnGC3lZGVahXzenbSEDN9mH2Rvye40ZIAPab Xakw== 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=Kmo6BH5ygn5Md7FtjHkAF2H+na9yzAd1rgfQcTVl4JU=; b=CeJGX7+wNpAHCFL1Z90vf0LkeOE3G1eIl4HzZCy7bmAPJaRZIYAbiw1IE2+y9Huu4Q wum+YuHpNm6WB/pO9BztJXCVBEqVLJ7pYSRH8a5p2P1lIOZvA4RdR9BBSKWNquxJogX2 UKMfcynCReS4mNIyRoSagFW6rO1B8RSMtZmArXoFVTphOLL6iHEgvUlvtFSwms9SzKeh XEhlpPFFqA8nI1HHaoCgUgntjnOb+YE7OwuLq64YX7qPj8TZthn7ZQLWyjq3XGRVfBF4 J9h6tcPuxzBYQcY4Hg7ZVV54aiUqYYN6xnDCNwz6RWEbXseZ9k1LbPY2gELp8CHkj+xn qv0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Yiccb94O; 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 Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id z8si349121pfe.233.2022.02.17.15.14.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 15:14:07 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Yiccb94O; 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2C4E8280EFE; Thu, 17 Feb 2022 15:04:58 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244147AbiBQSSB (ORCPT + 99 others); Thu, 17 Feb 2022 13:18:01 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244143AbiBQSR7 (ORCPT ); Thu, 17 Feb 2022 13:17:59 -0500 Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30706162018; Thu, 17 Feb 2022 10:17:45 -0800 (PST) Received: by mail-qv1-xf29.google.com with SMTP id v10so9912260qvk.7; Thu, 17 Feb 2022 10:17:45 -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=Kmo6BH5ygn5Md7FtjHkAF2H+na9yzAd1rgfQcTVl4JU=; b=Yiccb94OR/WsJxaffkc/ByvR29azGUTeOl1tDs/DdXjoKSWCwX7RLXKOScOr2rY166 yFPl91/QlOwJt7+A/MzFE4G7sBJ11ug76nZdP9TGq6kblN8FS/JgNQ7n4migx6LgKc/u ybj/i6Bkw8REPlhhZQ2zTNt7kPB7VOPBl/IYY8PE/UsTFts+XJWJFP25A+E8ouyBUDR3 W+qT59zNZjhFxAhmAx6x9RXCxYc63pH5fOdNK0WIgo3CUZSFfoMlLA+GpUUJoounRmmW Fg6420SyCNxzUbK81avDLGH27y+f7h61rCUg0BLXTvD7pEHHUUGozcezo0DPHVdekRlE VNTQ== 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=Kmo6BH5ygn5Md7FtjHkAF2H+na9yzAd1rgfQcTVl4JU=; b=7quJGXjFYOepuYenKe+wKwbwvZIdNRyotg793q29oJ9ZajbKVtYeuk/ioQHdYeCBzo 3ozQAe+5uNbJnDAdKUFH+SfpG1RJVG1mYpq/z9yNSDmVOZ94k7KulxFCsEKfSqioEkI9 j4XkHi2Ci5KH+1BkOPFtgHcMTji1el2DGpnUE5vl7keh+kzUiQ61RydhEC2gw6JMgkKP xoxfWLj7Iz9X4c3mRbfsC1OpAE0d2UcyboRljOTdUwDCAXf22LoWbUfEDQHAJiRInOpA HrYXk220J+pXO6DGts85DHXvrVUSPdoMA8NDJ8hJJRGEpovgkNtatRWhralpzytkhMr/ FhXA== X-Gm-Message-State: AOAM533RLg3eODZL8niJMm7YnI2VyyH5HN9XZxATdMzy8Yf0z//XBG4k GOGDsRHqaECDgdPjqLwSQa1EPyMt+uzrmA== X-Received: by 2002:a05:622a:148d:b0:2cd:764a:f2c0 with SMTP id t13-20020a05622a148d00b002cd764af2c0mr3614805qtx.231.1645121864378; Thu, 17 Feb 2022 10:17:44 -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 s1sm23792811qta.0.2022.02.17.10.17.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Feb 2022 10:17:43 -0800 (PST) Sender: Guenter Roeck Message-ID: Date: Thu, 17 Feb 2022 10:17:40 -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: Gabriele Paoloni , 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 , 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: Guenter Roeck In-Reply-To: <6c6fc4fa-6464-2dbf-40da-e3c61f322d95@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 09: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. > I think in the Kernel ftwdt010_wdt and qcom-wdt are bark/bite WTDs > If that is the case, I would prefer if we could stick to existing terminology to avoid issues like "I do not see the bark abstraction". Thanks, Guenter