From patchwork Tue May 3 06:48:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Tzvetomir Stoyanov (VMware)" X-Patchwork-Id: 12835065 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4EEDEC433F5 for ; Tue, 3 May 2022 06:49:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229818AbiECGwh (ORCPT ); Tue, 3 May 2022 02:52:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbiECGwe (ORCPT ); Tue, 3 May 2022 02:52:34 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4403437A19 for ; Mon, 2 May 2022 23:49:02 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id kq17so31645680ejb.4 for ; Mon, 02 May 2022 23:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YsTAQ9Ii4FeVtlNyQgjs4SpYRKARgyiWanH1o31wirk=; b=O09FtmFnNCD/yXk4rUrn6RLjHzOeWQP3JWR/PgibfSHOT9rIUbDNhU8AX/c+dIEzHf N+wP1vXSNRrFvri1jo2sGmkOUsOvbYmsclSzQrY2rlC3gjlplnorjBxtWpuSNqZVXUNZ jax1aPQSgW0sa/4n4X+BSS0aVofDPYtgE/QL31JPNAyjiGin8VUnoQS52bpkiGDt1Gjd WQpLozs4SFvkOEhh2wEreIpaD/e8+wPAw0Ti8mugrBlUxYOK2KBQ0NzBpCUPyfu3ednv D90aSld03ANau6+R1zFnrycUl/xA+xPigcrWZKCRX2fh+HBIh0Yv0lKuvTXB8xFHtsM1 izvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YsTAQ9Ii4FeVtlNyQgjs4SpYRKARgyiWanH1o31wirk=; b=El5GZgNP8zLNgKJwrzadYeRd1XpspeVzHHXBJtBPEFHFBfAUWuzkQW+MCyUz2NO5J2 CT0NYo2OWj8z9PPDLFpeKR/UjwV37mwGLX0GcLs3vRQSBIcFPO8jYeYusXP92wmQc+yP xZ+PpX+wXpvbmMw5bz3aZHUpmn7L5oYdBnnDQfvEooqHLjRmgXyBqLhYP72kxxKsL1r2 OEG2sV+KnxNCQJZTxaSWQx/i04clX2Y72IQ0kfWRDL9Cy27RJnjkcRNvhGdOq/eJFfcP mH6I70+x8puNBlcbw0R8Fc3y13YTYILNgJiChIKhX3U50P1BA4Sbidu5iOFVxytq4jq/ E29g== X-Gm-Message-State: AOAM533aQW4mSDJmL9qvn/J3NulRWQPDhLki1VZpdNTgpzmQr4ee0GgN oVGTL9QOCVv/4Y/YqCB0C6U= X-Google-Smtp-Source: ABdhPJyPFJxXDZnyGIMFh8bl3p5DalJr47Zalhd6PKeg2ZLRJzsuj7PgeUup6FXu4/hTgWQ/w35SWQ== X-Received: by 2002:a17:906:7948:b0:6da:64ed:178e with SMTP id l8-20020a170906794800b006da64ed178emr14757827ejo.523.1651560540781; Mon, 02 May 2022 23:49:00 -0700 (PDT) Received: from oberon.zico.biz.com ([83.222.187.186]) by smtp.gmail.com with ESMTPSA id e26-20020a170906845a00b006f3ef214e6csm4288457ejy.210.2022.05.02.23.49.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 23:49:00 -0700 (PDT) From: "Tzvetomir Stoyanov (VMware)" To: y.karadz@gmail.com Cc: linux-trace-devel@vger.kernel.org Subject: [PATCH 1/3] trace-cruncher: Add define for bool type Date: Tue, 3 May 2022 09:48:55 +0300 Message-Id: <20220503064857.260937-2-tz.stoyanov@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220503064857.260937-1-tz.stoyanov@gmail.com> References: <20220503064857.260937-1-tz.stoyanov@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org The logic for resolving function name to address uses bool type, which is defined in stdbool.h header file. Add explicitly include to this file. Signed-off-by: Tzvetomir Stoyanov (VMware) --- src/trace-obj-debug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/trace-obj-debug.c b/src/trace-obj-debug.c index 0e0e293..3ce3b54 100644 --- a/src/trace-obj-debug.c +++ b/src/trace-obj-debug.c @@ -11,6 +11,7 @@ #include #include +#include #include #include #include From patchwork Tue May 3 06:48:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Tzvetomir Stoyanov (VMware)" X-Patchwork-Id: 12835064 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9231EC433EF for ; Tue, 3 May 2022 06:49:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229911AbiECGwg (ORCPT ); Tue, 3 May 2022 02:52:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229818AbiECGwe (ORCPT ); Tue, 3 May 2022 02:52:34 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F214337031 for ; Mon, 2 May 2022 23:49:02 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id l7so31677020ejn.2 for ; Mon, 02 May 2022 23:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4M8THBhG9j5YZoyswzf+9PE/jNFM++dhXAnfTpmBngg=; b=JCTBLADKvgQJBHrkndRO4qmYc9B6tTiv70WPxVlWyYEgbe15DJadWdvQOL1H8iZN68 A4HkHOTIr9LmMOAjrxZib5/02e52BjRA1joiZaGPSuOMs/CQRekyujhQqDJay9X1MhTX 1+kDE6LNAeQQxytw8Pdddge6ry3WEY0JycsdrW/nL/BpzIXyamHnMbZOhUfH9NWYqKX8 5GQ9hEbxZkGMcV4Fi2n73WRvKLPsiFtGG37b3Zrtn6mgFp4leyutJ+AgZ8ZlkguO38qg 9Cds6GDSZ1I637hG2ZMnUwPC/92oAZW1CJjRkW3F3ompBLQhXF/J07PHjFiiOmc3YzwG t1MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4M8THBhG9j5YZoyswzf+9PE/jNFM++dhXAnfTpmBngg=; b=cjzvyYrrVw6Q4UZ/L8o/+2s44OQKJTZTMELaIWfa5ty4DfLoCF4R0HZtyop+azAqTO D+2kd/hXxgZlTpY7zmUeZIS4ip4QBkzwA8Qx9X397R/Cg1sf7YAuTIVKrrfhN1IKuZrQ a5pVL1RgDJizkMbgvqm0vzeeyFyt4EINDV1J2xfAQMn7ilKADcJHUgho9ahkXjJXZ7vf 0QCiwrG3/8L7wOIemYymiQBNIAWPB8+n6e/B4TnYpNE1Yo9z5h9a+mE9Ba0t0HX59Jna 6OI/e3DwypJgTejsiyhH3VZj8bPmkP3RZx+MSrAREFIKevMsC8xjxmzYsK8QC5Uj4XKK 5GpA== X-Gm-Message-State: AOAM533FBTcixi0jmzZVDa+O2BCI+A9GioLy2ZA6mkhxjwVl4NFiK8uL ZyYepEmgYCt0TTaWIovNt0LcIJyOh4VJ6A== X-Google-Smtp-Source: ABdhPJxoLBkY3ghdKIAoRpuAuRGY+W9h6PhB9CM1VucR7vkteg8UwVSVHzkzPoHSWOZaWP9XAdFDAw== X-Received: by 2002:a17:907:9615:b0:6f4:92ab:4fce with SMTP id gb21-20020a170907961500b006f492ab4fcemr1453543ejc.95.1651560541572; Mon, 02 May 2022 23:49:01 -0700 (PDT) Received: from oberon.zico.biz.com ([83.222.187.186]) by smtp.gmail.com with ESMTPSA id e26-20020a170906845a00b006f3ef214e6csm4288457ejy.210.2022.05.02.23.49.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 23:49:01 -0700 (PDT) From: "Tzvetomir Stoyanov (VMware)" To: y.karadz@gmail.com Cc: linux-trace-devel@vger.kernel.org Subject: [PATCH 2/3] trace-cruncher: Update github workflows Date: Tue, 3 May 2022 09:48:56 +0300 Message-Id: <20220503064857.260937-3-tz.stoyanov@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220503064857.260937-1-tz.stoyanov@gmail.com> References: <20220503064857.260937-1-tz.stoyanov@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org Recent commits add functionality for function name to address resolving, using bfd library. This breaks the github action, used for trace-cruncher CI, as it does not have bfd development files. Updated the workflow with bfd development package. Signed-off-by: Tzvetomir Stoyanov (VMware) Reviewed-by: Yordan Karadzhov (VMware) --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a9520e7..0d72bbf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: shell: bash run: | sudo apt-get update - sudo apt-get install build-essential git cmake libjson-c-dev -y + sudo apt-get install build-essential git cmake libjson-c-dev binutils-dev -y sudo apt-get install libpython3-dev cython3 python3-numpy -y sudo apt install python3-pip sudo pip3 install --system pkgconfig GitPython From patchwork Tue May 3 06:48:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Tzvetomir Stoyanov (VMware)" X-Patchwork-Id: 12835066 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C463C433FE for ; Tue, 3 May 2022 06:49:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229454AbiECGwh (ORCPT ); Tue, 3 May 2022 02:52:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229902AbiECGwe (ORCPT ); Tue, 3 May 2022 02:52:34 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 994CF37AA1 for ; Mon, 2 May 2022 23:49:03 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id z99so18817278ede.5 for ; Mon, 02 May 2022 23:49:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DHuk/E4tKmkU8xE5gT1KiVwuAtTNfojw+1qCzCWy2MU=; b=JuY6QCb2VeOpgtCLsVQMtCeAsILtDL3qJAY8EP44mxz0ud++v4HyXQZwhJesRkd5W3 +svUurahLZF10MtRJtmULZwexMiejKfrL8qZaUQS7jc2JlhSTDIqOpM7F5PS+h6csg8P l+OHDyu7/5hVBAv/eReZteMjYPhrdTUc9qen67XASLyR6765BcSZX2w5wUtiEHsZ0IV7 EDNigc8gFUUklZZ5P38gXdyZSfhEk3k3Hnh+6DDa+v6hy98ZsmIxxJlp+6PMKsPl28wS 9QOE0kHIhXfFPxUXWoMa7wWB6WibCIApUfHs+aJd4xbBRFlL6lYXA/fgDHCgfCRzCD9z sHNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DHuk/E4tKmkU8xE5gT1KiVwuAtTNfojw+1qCzCWy2MU=; b=kGuUR5s+/RZ2043Td7tGvomCqMbMa5fyO2j/SVWMjidR0GcwXPbUsxGaVaZ+MOzkaa arWv0bLBxE7pToO856hg4rNKn6zr5C/Xp9IPcyl/6Jcd2H4hXF3LZ5rQqbx1MIQT1nhR sFnWTd79NrEFUNXO7mtDgO8HwGKAFS8MDhXvUJF7RtwDtPlkf0X+6Bc2Si5RefaiYVv6 pOlZuKNF56WzOTx292cvXAZBBlblg07/xIxXfsc42QNtSF54ww5qW89s4AUlO50TpHGB BoxRUEPRDRiuhY7ZFMgYLHAoJU2vcxtpSeKyonP1FBRFPZVD2a3S0bAEo4//2/5bQajq 5OSQ== X-Gm-Message-State: AOAM532NfoDypk8n//iAZl2SYEz+wA9Cg5bOKchMrGyvMpAc811p0uTX rx0iDbQ4Xj5Xs5PhOMFwIdtWEpiFLdEY2A== X-Google-Smtp-Source: ABdhPJzGgIiIONpY95WyjXs1XERK8W4Bck75cKHv64UrNfMrWbahqcgjmJz8/gAAsc61u6jAdzmWyA== X-Received: by 2002:a05:6402:50cd:b0:427:f285:e0d4 with SMTP id h13-20020a05640250cd00b00427f285e0d4mr145013edb.211.1651560542219; Mon, 02 May 2022 23:49:02 -0700 (PDT) Received: from oberon.zico.biz.com ([83.222.187.186]) by smtp.gmail.com with ESMTPSA id e26-20020a170906845a00b006f3ef214e6csm4288457ejy.210.2022.05.02.23.49.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 23:49:01 -0700 (PDT) From: "Tzvetomir Stoyanov (VMware)" To: y.karadz@gmail.com Cc: linux-trace-devel@vger.kernel.org Subject: [PATCH 3/3] trace-cruncher: Add object files to gitignore Date: Tue, 3 May 2022 09:48:57 +0300 Message-Id: <20220503064857.260937-4-tz.stoyanov@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220503064857.260937-1-tz.stoyanov@gmail.com> References: <20220503064857.260937-1-tz.stoyanov@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org Object files, produced by the compilation should not be committed. Updated the .gitignore file with these files. Signed-off-by: Tzvetomir Stoyanov (VMware) --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 9fb86e5..2d47632 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *.so *.a +*.o .*.d *~ *.pyc