From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eugeni Dodonov Subject: [PATCH 0/6] additional intel_gpu_top profiling features Date: Mon, 5 Sep 2011 17:19:27 -0300 Message-ID: <1315253973-18950-1-git-send-email-eugeni@dodonov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy4-pub.bluehost.com (oproxy4-pub.bluehost.com [69.89.21.11]) by gabe.freedesktop.org (Postfix) with SMTP id C54339E764 for ; Mon, 5 Sep 2011 13:20:24 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org Cc: Eugeni Dodonov List-Id: intel-gfx@lists.freedesktop.org From: Eugeni Dodonov This patchset adds a number of small but useful features into intel_gpu_top tool, as asked by Chris Wilson: - support for getopt to customize internal parameters at runtime (such as number of samplings per second). - possibility of non-interactive execution to collect GPU usage into a log file for future analysis - possibility to profile a specific command, leaving when the profiled command reaches its end of the execution - collection of initial statistics before the profile starts. - account for the time spent within syscalls to provide more appropriate logging and more precise screen updates (e.g., instead of refreshing once a second, we could potentially take way longer than that due to the system calls overhead) Eugeni Dodonov (6): intel_gpu_top: account for time spent in syscalls intel_gpu_top: suport command line parameters and variable samples per second intel_gpu_tool: initial support for non-screen output intel_gpu_top: initialize monitoring statistics at startup intel_gpu_top: support non-interactive mode intel_gpu_top: support profiling user-specified commands man/intel_gpu_top.1 | 22 ++++ tools/intel_gpu_top.c | 303 +++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 280 insertions(+), 45 deletions(-) -- 1.7.6.1