From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id eWNfDe8b4maLDygAWB0awg (envelope-from ) for ; Wed, 11 Sep 2024 18:38:39 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=lists.lttng.org header.i=@lists.lttng.org header.a=rsa-sha256 header.s=default header.b=CiFVY7GC; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 17D271E353; Wed, 11 Sep 2024 18:38:39 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_IMAGE_ONLY_16,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,URIBL_BLOCKED, URIBL_DBL_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=4.0.0 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id BD0231E08F for ; Wed, 11 Sep 2024 18:38:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1726094317; bh=ce9BjCBcvZzSoh3hXSll1xcAljic3K3Ij/skTKDwYYA=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=CiFVY7GCG17Gek6sNBEgOo4gUtQmXa2CHMD+zzmmgr7eIr97CV8yHg0zPoP1kJRLS iQU4DFkt/0f/JnSlRFaqVxUdb9UvdcYodVyzpBQ1ZvfF4AJ/5fTA0hElVqDNL6uewB 1U+6X63Wuj42U0o+0n0tg+4O8EPRcKS5vB6srkc4T7T0ooyKVN2M7TIZmh31j4Gg4p WntIHAPGTQi4GE0p6MIOtwu6mrNvFvX91ighUoQKJfgJ+oHwdk0RtIgt1d7JHJRIBh qMSrmiuPZ6xK7ncb/mgHWvjH9yh/Ap7l+PpNekdOPig4vUq4j+ejeovHpFgC/fpA1k +ve6lU7uf046Q== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4X3wTS5ydQz1GqV; Wed, 11 Sep 2024 18:38:36 -0400 (EDT) Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) by lists.lttng.org (Postfix) with ESMTPS id 4X3wTR3mdRz1GqT for ; Wed, 11 Sep 2024 18:38:35 -0400 (EDT) Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-6db4b602e38so2868697b3.1 for ; Wed, 11 Sep 2024 15:38:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726094315; x=1726699115; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=PKMXwY7KYv5nX2l9EB/lvE0LgA6Vk7uB59w3lLI11G0=; b=ElaovLxUyE0xA34uzqJugRTmHzJU8+6SXuXs81SVO3sFQn3CqxRrA3Abv1glkGIWNL su0SRuakrinN7LOPbrUOHqvtXoLacqkHVHsa5K5wbYiCJkhpC1DK7fnCowz//67Qp0ln iqUKdwQ5WR6Zf+0Tt+rkv+zc4YmHOBwGojoDR2z5iMJS4bsciPB/stCFQ+RX3T9mTX8d Im4qKx6Zom9+mYbFNm+pR6O7BQ7Pe4SHa4WkCGfpBB7XlGPU9yBPDZEZNo/GPZ/7Cfbj g0VHn+dWi+jbqVAr0CkfRGiYcWXMjG1qI92ZddFgwNuZTZxPLrJ54L1M9Z4/xW7uFVOL J4Uw== X-Gm-Message-State: AOJu0YzjBfM986SO+o9epgTnE2GDizoQhWWwv1PmOOSezh7Y2ph11MvR U8uyxECN8rLrseKgY/jOBGnuir3TeTlws4/PfJoWgNNnBtLHVvmCxzolHU3CYTm6h3AtxtUcZiR yJVf10RqKeDZgOx5CChKskgRWeTpsRQ0R5FMQ6iW1QUj1pJsZxyU= X-Google-Smtp-Source: AGHT+IEwnPadPQYjFV8D/3X4y/G7kEGU2MED568+eGw8a6W014WiLhjrSx46eDhS6r4LWHSC31MgfMnwOI42QtWThUE= X-Received: by 2002:a05:690c:23c2:b0:6d6:7c9a:bf5a with SMTP id 00721157ae682-6dbb6b0d89cmr11914227b3.13.1726094314467; Wed, 11 Sep 2024 15:38:34 -0700 (PDT) MIME-Version: 1.0 Date: Wed, 11 Sep 2024 15:38:23 -0700 Message-ID: To: lttng-dev@lists.lttng.org Subject: [lttng-dev] Trigger snapshots on a watchdog X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Damien Berget via lttng-dev Reply-To: Damien Berget Content-Type: multipart/mixed; boundary="===============8699902008842354463==" Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" --===============8699902008842354463== Content-Type: multipart/alternative; boundary="000000000000768aed0621dfa647" --000000000000768aed0621dfa647 Content-Type: text/plain; charset="UTF-8" Good day, We are trying to see what it the best way to monitor some applications not hitting a deadline. Ideally something like a watchdog that needs to be pat regularly and if timeout is reached triggers the snapshot. Before we reinvent the wheel and code some userland applications, is there a canonical way in LTTng to do it? I found this that is suspiciously close maybe? Thanks, Cheers -- *Damien Berget* Embedded Platform Lead damien.berget@flyzipline.com --000000000000768aed0621dfa647 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Good day,
We are trying to see what it the best way to= monitor some applications not hitting a deadline. Ideally something like a= watchdog that needs to be pat regularly and if timeout is reached triggers= the snapshot.

Before we reinvent the wheel and code some userland a= pplications, is there a canonical way in LTTng to do it? I found this=C2=A0that is sus= piciously close maybe?

Thanks,
Cheers

--
Damien Berget
E= mbedded Platform Lead
--000000000000768aed0621dfa647-- --===============8699902008842354463== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev --===============8699902008842354463==--