mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tony Jones <tonyj@suse.de>
To: Adrian Hunter <adrian.hunter@intel.com>, linux-kernel@vger.kernel.org
Cc: acme@kernel.org, linux-perf-users@vger.kernel.org,
	Seeteena Thoufeek <s1seetee@linux.vnet.ibm.com>
Subject: Re: [PATCH v2 5/7] perf script python: add Python3 support to intel-pt-events.py
Date: Tue, 5 Mar 2019 08:10:09 -0800	[thread overview]
Message-ID: <18913237-75f2-731b-940d-1fccc43d1b4a@suse.de> (raw)
In-Reply-To: <dfa719d4-0d9e-ad08-536f-17b3da116b19@suse.de>

On 3/5/19 7:02 AM, Tony Jones wrote:

> I tested the patch on a Skylake system but it was not connected to our standard
> network so I had to move files manually.  It seems I managed to somehow mess up
> and not attach the correct patch :(

Sure enough, I managed to attach the wrong patch. Sorry. I'll attach revised (v3) 
to this thread as the change is trivial.

I am seeing a lot of "instruction trace errors" on this Skylake system.  I see them
using Python2 without any of the changes.  I've not looked at this.

Output of v3.

# head /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 94
model name	: Intel(R) Xeon(R) CPU E3-1240 v5 @ 3.50GHz
stepping	: 3
microcode	: 0xc6
cpu MHz		: 1600.887
cache size	: 8192 KB
physical id	: 0

# ldd /tmp/perf/bin/perf | grep python
	libpython3.6m.so.1.0 => /usr/lib64/libpython3.6m.so.1.0 (0x00007fd8fdaae000)

# /tmp/perf/bin/perf script report intel-pt-events -i /tmp/perf.data | tail -20
         swapper     0/0     [006]     17424.535324338     cbr:  27  freq: 2703 MHz  ( 77%)                0 [unknown] ([unknown])
            perf 20899/20899 [003]     17424.535324363     cbr:  27  freq: 2703 MHz  ( 77%)                0 [unknown] ([unknown])
         swapper     0/0     [004]     17424.535324387     cbr:  27  freq: 2703 MHz  ( 77%)                0 [unknown] ([unknown])
         swapper     0/0     [000]     17424.535324867     cbr:  27  freq: 2703 MHz  ( 77%)                0 [unknown] ([unknown])
         swapper     0/0     [006]     17424.543315376     cbr:  24  freq: 2403 MHz  ( 69%)                0 [unknown] ([unknown])
            perf 20899/20899 [003]     17424.699315686     cbr:  16  freq: 1602 MHz  ( 46%)                0 [unknown] ([unknown])
         swapper     0/0     [006]     17424.714915068     cbr:  16  freq: 1602 MHz  ( 46%)                0 [unknown] ([unknown])
         swapper     0/0     [005]     17424.779321732     cbr:   9  freq:  901 MHz  ( 26%)                0 [unknown] ([unknown])
         swapper     0/0     [001]     17424.779322738     cbr:   9  freq:  901 MHz  ( 26%)                0 [unknown] ([unknown])
         swapper     0/0     [003]     17424.903321958     cbr:   9  freq:  901 MHz  ( 26%)                0 [unknown] ([unknown])
         swapper     0/0     [000]     17425.099316258     cbr:  16  freq: 1602 MHz  ( 46%)                0 [unknown] ([unknown])
         swapper     0/0     [003]     17425.107316167     cbr:  16  freq: 1602 MHz  ( 46%)                0 [unknown] ([unknown])
         swapper     0/0     [004]     17425.519574381     cbr:  16  freq: 1602 MHz  ( 46%)                0 [unknown] ([unknown])
         swapper     0/0     [001]     17425.519796998     cbr:  16  freq: 1602 MHz  ( 46%)                0 [unknown] ([unknown])
         swapper     0/0     [002]     17425.519828095     cbr:  16  freq: 1602 MHz  ( 46%)                0 [unknown] ([unknown])
         swapper     0/0     [005]     17425.519897417     cbr:  16  freq: 1602 MHz  ( 46%)                0 [unknown] ([unknown])
         swapper     0/0     [007]     17425.519936473     cbr:  16  freq: 1602 MHz  ( 46%)                0 [unknown] ([unknown])
Warning:
260 instruction trace errors
End

  reply	other threads:[~2019-03-05 16:10 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-02  1:18 [PATCH v2 0/7] perf script python: add Python3 support Tony Jones
2019-03-02  1:18 ` [PATCH v2 1/7] perf script python: remove mixed indentation Tony Jones
2019-03-05 10:39   ` Adrian Hunter
2019-03-06 21:09   ` Arnaldo Carvalho de Melo
2019-03-09 20:02   ` [tip:perf/urgent] perf script python: Remove " tip-bot for Tony Jones
2019-03-02  1:18 ` [PATCH v2 2/7] perf script python: add Python3 support to futex-contention.py Tony Jones
2019-03-06 21:11   ` Arnaldo Carvalho de Melo
2019-03-09 20:02   ` [tip:perf/urgent] perf script python: Add " tip-bot for Tony Jones
2019-03-02  1:18 ` [PATCH v2 3/7] perf script python: add Python3 support to check-perf-trace.py Tony Jones
2019-03-06 21:11   ` Arnaldo Carvalho de Melo
2019-03-09 20:03   ` [tip:perf/urgent] " tip-bot for Tony Jones
2019-03-02  1:19 ` [PATCH v2 4/7] perf script python: add Python3 support to event_analyzing_sample.py Tony Jones
2019-03-06 21:11   ` Arnaldo Carvalho de Melo
2019-03-09 20:04   ` [tip:perf/urgent] perf script python: Add " tip-bot for Tony Jones
2019-03-02  1:19 ` [PATCH v2 5/7] perf script python: add Python3 support to intel-pt-events.py Tony Jones
2019-03-05 10:16   ` Adrian Hunter
2019-03-05 15:02     ` Tony Jones
2019-03-05 16:10       ` Tony Jones [this message]
2019-03-05 16:19         ` Tony Jones
2019-03-06  9:28           ` Adrian Hunter
2019-03-06 21:12             ` Arnaldo Carvalho de Melo
2019-03-09 20:04           ` [tip:perf/urgent] perf script python: Add " tip-bot for Tony Jones
2019-03-02  1:19 ` [PATCH v2 6/7] perf script python: add Python3 support to sql scripts Tony Jones
2019-03-06  9:26   ` Adrian Hunter
2019-03-06 16:32     ` Tony Jones
2019-03-07 18:51       ` Arnaldo Carvalho de Melo
2019-03-08  9:47         ` Adrian Hunter
2019-03-08 14:36           ` Arnaldo Carvalho de Melo
2019-03-02  1:19 ` [PATCH v2 7/7] perf script python: add printdate function to SQL exporters Tony Jones
2019-03-06 21:13   ` Arnaldo Carvalho de Melo
2019-03-08 12:50     ` Adrian Hunter
2019-03-05  9:55 ` [PATCH v2 0/7] perf script python: add Python3 support Adrian Hunter
2019-03-05 14:53   ` Tony Jones
2019-03-05 15:18     ` Tony Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18913237-75f2-731b-940d-1fccc43d1b4a@suse.de \
    --to=tonyj@suse.de \
    --cc=acme@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=s1seetee@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®