Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp855626pxb; Fri, 22 Apr 2022 12:43:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrB87cP7fANzI7KCUi0wMnBj3GKzdaEgdU/3jksq6YF4h/UsmVcIX3vbEJQPVaN2PTk2Cl X-Received: by 2002:a17:90a:d3d3:b0:1bf:2e8d:3175 with SMTP id d19-20020a17090ad3d300b001bf2e8d3175mr7276215pjw.2.1650656586312; Fri, 22 Apr 2022 12:43:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650656586; cv=none; d=google.com; s=arc-20160816; b=rnGzZEkn5czhwLivztC2iD7Btom/eHNX1fvfixVHTgSQGfucXfUBvZ3mODfULGq1PY UjFcjjX7jG6wLcKamLLsZ5mZVsfFxIPsqh4HPsoVJFPdtq6+wqUBFSXRZ6YKoaTOn4x2 t+sd9LH7zKabUWztbjYWvLtQgADbgpajoivgxmplVQe/q9lSM3F41VCjmh4abC1TRF/P T0Kft3C7PCSuj5t+kjSUikKrH6XXgJFVYe3DwjjmrYAxeTt8Pmj7cr5fqK60ohd+wGae ueJTnvpL0z+MkavATdOS39Az5JyraQaYduiv2xUQxtk7tKFE1Rt2cxkesa/SIL+MiHN/ LNkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=I0VILpALjxgooNpCUUQ9H0t12+7Y/aJA4JC/W0MMu4Y=; b=b0k3tSh1nbhn7G9zm09PbR0r5zC3CbS2WLaOBafBCH+To5cUwe/Fpi7j72GFlSR62u rxpjDMVBXyUpft9vi+bX+fG+Gr7f4Ts7Z9PPJQX7rPI5v9uX9vfsn4UqyqFjkBTuzdMj YE35mF4Q+mJKcgteRDJUVN5RflmhNrf9zTpWLxzIme7E8tuGoqIGMwfcMjkjf1X4nCmf rltQcCANmEapeQsQGgcoi6585hjPuMgvz3JOAJMgpSNclNWSDpC6KwonQKeV0TMUc726 dwHlJmh/gdH9b+n7e4BT1ylMl21g4N9vRVgghw7JXg3Edr3x9oyN+8ufpH26OJKqNm35 oAyQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s6-20020a63ff46000000b003aa2d163bdesi9440897pgk.732.2022.04.22.12.43.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 12:43:06 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BA2E716FE19; Fri, 22 Apr 2022 11:48:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1448024AbiDVO43 (ORCPT + 99 others); Fri, 22 Apr 2022 10:56:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231418AbiDVO42 (ORCPT ); Fri, 22 Apr 2022 10:56:28 -0400 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B2B45C36E; Fri, 22 Apr 2022 07:53:34 -0700 (PDT) Received: by mail-lf1-f46.google.com with SMTP id y32so14721905lfa.6; Fri, 22 Apr 2022 07:53:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=I0VILpALjxgooNpCUUQ9H0t12+7Y/aJA4JC/W0MMu4Y=; b=hfaIPphNi/HEJkZOFfyCKQ7juFzFwFKQQbNua2SvvUlAc6i3nGmptc7H4gB2trx0UY Gr0jyYnLFBT6/whfk/MtJj5CYM1TWB+7i6L4lkIJwsp4AZ8nMrXW8ohJdYxvhBaZW0Hf rceEKHqmOZkkNonEKZERdfo/h9yXMXpx0cXzOcJqHlX7jYotvyjocrrybTWRUIDWUYkc Gx5s5xxjdSCfa5/GJ41GxBPZS63/Xo4W+jkOhJCn8V/ewFAd17JfnW9CiNIBZwPlhLY+ NjooU9LCIxSDybBZkv/ZISfEsdtkf2J27MGrN6AiyBbgudgsxEZ9+Bb+W6kFSr+SbVfx GH5A== X-Gm-Message-State: AOAM532N+/oK5Ekvt2FzpZD0XS+aVtZb1koMXIcy/qir2Eu5vU0VbZey icCzVT29QSP691WzoEQIGcVPLMfET7M+c1dcMVVQz9rs X-Received: by 2002:ac2:4c4f:0:b0:44a:4357:c285 with SMTP id o15-20020ac24c4f000000b0044a4357c285mr3260154lfk.99.1650639212740; Fri, 22 Apr 2022 07:53:32 -0700 (PDT) MIME-Version: 1.0 References: <20220422053401.208207-1-namhyung@kernel.org> In-Reply-To: From: Namhyung Kim Date: Fri, 22 Apr 2022 07:53:22 -0700 Message-ID: Subject: Re: [RFC 0/4] perf record: Implement off-cpu profiling with BPF (v1) To: Jiri Olsa Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Ingo Molnar , Peter Zijlstra , LKML , Andi Kleen , Ian Rogers , Song Liu , Hao Luo , bpf , linux-perf-users , Blake Jones Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE 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 Hi Jiri, On Fri, Apr 22, 2022 at 3:11 AM Jiri Olsa wrote: > > On Thu, Apr 21, 2022 at 10:33:57PM -0700, Namhyung Kim wrote: > > SNIP > > > The perf bench sched messaging created 400 processes to send/receive > > messages through unix sockets. It spent a large portion of cpu cycles > > for audit filter and read/copy the messages while most of the > > offcpu-time was in read and write calls. > > > > You can get the code from 'perf/offcpu-v1' branch in my tree at > > > > git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git > > > > Enjoy! :) > > CC builtin-record.o > builtin-record.c:52:10: fatal error: util/off_cpu.h: No such file or directory > 52 | #include "util/off_cpu.h" > > forgot to add util/off_cpu.h ? Oops, you're right. Will resend soon. Thanks, Namhyung