From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61AE118EB1 for ; Fri, 20 Sep 2024 08:14:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726820060; cv=none; b=P8UDouvT2NY3bzlEIodudXvetipExH8a+DFk0Kv9CiNtoqv9o8ofvxrnBsEfTwPiUExgKBMdCnwamwIEBqMjjssgJIMaUILWsemW6Gl0mHrUTSu2f8/gIFgT0JZ1ipqxOIybumGxOHqqxj4giweald3eAgCu6U/EYq+dSXu6vjg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726820060; c=relaxed/simple; bh=+T/38q/733oY7lFYN7yq1mIg11UNkECAKyzikUM6u6M=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=NecHxFE1jA/eYL+CkUQJ023Xa4levzDaYyGT60D6vioaG+DkheWG00mvlBlglGSUAa2H4vH0Ul2Y+H/G1Yx0/2ydKWzBRtRlDUG6B8Jp41ygVEvYzea+qC9MgLYEOZdOaNSPmK0Da3ljvImxyXIFVQE0s85YHcTwnM8wp1vBfq4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=THvxhL9e; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="THvxhL9e" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-42cba8340beso17364715e9.1 for ; Fri, 20 Sep 2024 01:14:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726820057; x=1727424857; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=fbr7uHJxZBXpc9SxcUXYAD0M/z9tzCVql6NpOtOjSnM=; b=THvxhL9eokj5uqLlmhbM6Edlz7QMqRSHYPFw9KX/hYAtxbjfKmXM5A2jG9rflM/JC5 hRc3Dbwp50WoY+YV1raaD3zjusFXwYDQYpVBPnvqPllOG3dwqUUTuoiTvpLaC+ua9B/X 6N3xKAQzkGUApzfYwM6LYe5fDxtWkdw18OtrBt43SgNNCfqFcKsrPQ/7uNkEt6Rt5a2Q RswuhPsILocokn9Qi+bcJm2JVgF4ppkY4Vrq8OmQ5OEabi+rAW7MMgMExbLiv4TAYE7i v+KP5c6E/a4SL6QEjWQFzjm6AWpp9deNT527S2VdOjS0nxB8xZ1QHPsaTcl31C4jvnqQ LX0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726820057; x=1727424857; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fbr7uHJxZBXpc9SxcUXYAD0M/z9tzCVql6NpOtOjSnM=; b=SpQYCoLpQw0nCA7Gbzv3B0Y008lnYKi/4qWicBhboG2YUEvMnZr5LvlE2M7sSO18dM CPiMFuGbMVktCyMgTQIkX+HKClA+XAndrFEHnQrQGb9dfnMexrLCrm0dsYf3CZlVTgOw p9CyVQniRRhjiIwdRTVhgxPojqz4WCJVsc/Zyx6n1AV3Y/Do6xwpd9i0omgiSPNhXjta DtKXj09wcz/0prad92CEHCK8Ri0aoa+b3nn7Gp4tdgtvgYAbXSQ5QXM4nMV8p+uPrNPa 7LjjQFGvDFLkHKWjzPgfrfZTdwXM5Kf41gqISKes4b32+StYE1baCEaULb1cx5djQhya P3Eg== X-Forwarded-Encrypted: i=1; AJvYcCUf96ib8U0wgnbwKVxJPhLz+L5jipYPM8YfwRpL4XVPwmjNe5S8IXe2fMzkLgtqRnp9wAmP7A/2tJgxjPEaVM+5@vger.kernel.org X-Gm-Message-State: AOJu0Yzr3+w4EN0SOOTwNEX9fFXVlBxEU305LEno+2jlyo+3V1Q2icPz EegZ3l1j50LwQ5XzQQDQMblHmzGceGezW8/F68tR4tjNvgp8HDpz5TZ5xneXvPw= X-Google-Smtp-Source: AGHT+IHEed/p2Pf28xJnO9owUMqlwyQa0QykvsOdE/oVxO5WRmGwqzHMPTalaq1XxY7tI00VZPekFg== X-Received: by 2002:a5d:5b84:0:b0:374:b6e4:16a7 with SMTP id ffacd0b85a97d-3799a1d312dmr2836672f8f.8.1726820056626; Fri, 20 Sep 2024 01:14:16 -0700 (PDT) Received: from [192.168.1.3] ([89.47.253.130]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42e7af8905bsm15603035e9.11.2024.09.20.01.14.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Sep 2024 01:14:16 -0700 (PDT) Message-ID: Date: Fri, 20 Sep 2024 09:14:13 +0100 Precedence: bulk X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/7] perf: cs-etm: Coresight decode and disassembly improvements To: Ganapatrao Kulkarni , Arnaldo Carvalho de Melo Cc: Peter Zijlstra , Ingo Molnar , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , "Liang, Kan" , Suzuki K Poulose , Mike Leach , John Garry , Will Deacon , Leo Yan , Ben Gainey , Ruidong Tian , Benjamin Gray , Mathieu Poirier , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ilkka Koskinen , linux-perf-users@vger.kernel.org, coresight@lists.linaro.org, leo.yan@arm.com, scclevenger@os.amperecomputing.com References: <20240916135743.1490403-1-james.clark@linaro.org> <24e24324-cb41-4ae7-9584-e97684b12585@os.amperecomputing.com> Content-Language: en-US From: James Clark In-Reply-To: <24e24324-cb41-4ae7-9584-e97684b12585@os.amperecomputing.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 18/09/2024 12:23 pm, Ganapatrao Kulkarni wrote: > > Hi James, > > On 16-09-2024 07:27 pm, James Clark wrote: >> A set of changes that came out of the issues reported here [1]. >> >>   * First 2 patches fix a decode bug in Perf and add support for new >>     consistency checks in OpenCSD >>   * The remaining ones make the disassembly script easier to test >>     and use. This also involves adding a new Python binding to >>     Perf to get a config value (perf_config_get()) >> >> [1]: >> https://lore.kernel.org/linux-arm-kernel/20240719092619.274730-1-gankulkarni@os.amperecomputing.com/ >> > > Tried this series with below commands and issue is not seen as reported > in [1]. > > record: > timeout 8s ./perf record -e cs_etm// -C 1 -o kcore --kcore dd > if=/dev/zero of=/dev/null > > decode: > ./perf script -i ./kcore -s scripts/python/arm-cs-trace-disasm.py -- -d > objdump -k kcore/kcore_dir/kcore > > ./perf script -i ./kcore -s scripts/python/arm-cs-trace-disasm.py -F > cpu,event,ip,addr,sym -- -d objdump -k kcore/kcore_dir/kcore > > Feel free to add for 1/7 and 2/7. > Tested-by: Ganapatrao Kulkarni > Thanks for testing!