From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8BBF942AD9; Thu, 11 May 2023 22:51:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 18BE842D9C; Thu, 11 May 2023 22:51:01 +0200 (CEST) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mails.dpdk.org (Postfix) with ESMTP id 88F5840DF6 for ; Thu, 11 May 2023 22:50:59 +0200 (CEST) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6439f186366so5685764b3a.2 for ; Thu, 11 May 2023 13:50:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1683838258; x=1686430258; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=NhqSoKUHZMxhaUKa8qi2N4Z0xP9kbt9YS9DQrGnj2vQ=; b=b6M7IVhWae6JebYQCU6D6hhsHG7gZ1ZCWXZpCTu1NS8nGPfcUA/KrimS1bjCwboTk2 ZzXq2fCGSKyfvOhqO3DcvO17Ax6KM0RqtgH3cVVuq+x4aRLN+kSK0ZB0p/iZa7Bd7Xi9 JywGy6TaVraIJ0rADBLDkkjI81Pjrfx0daWdbyDWQunnU8KJfU8dVoRBStBzl6L33IAN 7gpnhx4WIXG7DNRRtu2w9Xggu4j46P1x2dYXhjh7/p9WsIpoto0rznKXKr0X2cIsJYYZ GIAA/WSqZAtRGflBuGvLCwJxS20xqgWHRaGkrQz6BIWh6OuMn96pLQe4a90ZwOaKeyg5 fmOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683838258; x=1686430258; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NhqSoKUHZMxhaUKa8qi2N4Z0xP9kbt9YS9DQrGnj2vQ=; b=MxYSdKnxHHZEPmv9rdg2MtS0/Lag+YirE3dE1vlEvFuRldwnC+WctJ5APND3KB8FFG J4AJU9dZbv4yppxIiEP2Ln5USpfZkR4JgwBAQcuXtlFhvD17s/46i6qaHy5tT99JLGeY ZT9Y1M47NvCAJ6t7zKtiydaDhbjXi4LAYMI9bnMLXKg2+DsHbcOpcjZhZydbTPvL8Twl XDXDe0H4PrRT2Uri07/HuADXDDf5UQaoo7+cHQ1NQ2WnLAfXS73aB2a20djjpL1dOkUF n8ayt3L+2H6U+TCKwyRZpTCCtT70q3fPbeSial8gt7Ud387zSldUyMbDU3lKU4uQAOlV A30g== X-Gm-Message-State: AC+VfDxL7ktvF5L1fWZ9P34S+EoFHEBE2EyZ9J2Z/IZhYVZhAOZheDdz aSXNLC4zKwETiWWWWxfXIP1ukg== X-Google-Smtp-Source: ACHHUZ6k2826cPY3pr8y6G9KbAlbF0W0pJE7Eoya+o65WxAp9+lbtDxspcEyckcogXp9ItTG8AvY9w== X-Received: by 2002:a05:6a20:3ca9:b0:100:1044:9ce2 with SMTP id b41-20020a056a203ca900b0010010449ce2mr22442831pzj.56.1683838258349; Thu, 11 May 2023 13:50:58 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id v21-20020a62a515000000b0062dedfd3d73sm5842138pfm.95.2023.05.11.13.50.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 May 2023 13:50:58 -0700 (PDT) Date: Thu, 11 May 2023 13:50:56 -0700 From: Stephen Hemminger To: Arnaud Fiorini Cc: Thomas Monjalon , Harry van Haaren , Jerin Jacob , Sunil Kumar Kori , dev@dpdk.org Subject: Re: [PATCH v2] eal: add tracepoints to track lcores and services Message-ID: <20230511135056.69550813@hermes.local> In-Reply-To: <20230511201628.1658083-1-arnaud.fiorini@polymtl.ca> References: <20230511201628.1658083-1-arnaud.fiorini@polymtl.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, 11 May 2023 20:16:28 +0000 Arnaud Fiorini wrote: > +The service core library is instrumented with tracepoints using the DPDK Trace > +Library. These tracepoints allow you to track the service and logical cores > +state. The tracepoints that are on the fast path are compiled out by default. > +To activate the fast path tracepoints, it is necessary to add the > +``enable_trace_fp`` option when building DPDK using meson. > + > +To activate tracing when launching a DPDK program it is necessary to use the > +``--trace`` option to specify a regular expression to select which tracepoints > +to enable. Here is an example if you want to only specify service core tracing:: > + > + ./dpdk/examples/service_cores/build/service_cores --trace="lib.eal.thread*" --trace="lib.eal.service*" > + These state changes are not in the hot path. So they should always be available?