mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>, Wang Nan <wangnan0@huawei.com>,
	Alexander Shishkin <alexander.shishkin@linux.intel.com>,
	Ingo Molnar <mingo@kernel.org>, David Ahern <dsahern@gmail.com>,
	Namhyung Kim <namhyung@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Intel PT not work on 4.5.0-rc
Date: Tue, 1 Mar 2016 15:20:35 -0300	[thread overview]
Message-ID: <20160301182035.GA3604@kernel.org> (raw)
In-Reply-To: <20160301155921.GE3170@kernel.org>

Em Tue, Mar 01, 2016 at 12:59:21PM -0300, Arnaldo Carvalho de Melo escreveu:
> Anyway, 'strace' shows the 4 pairs of mmaps, but it still doesn't work, rebooting:

After I reboot, all works:

[root@jouet ~]# perf record -e intel_pt//u -a sleep 0.001
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 1.119 MB perf.data ]
[root@jouet ~]# perf script | head -10
  perf 3797 [002] 8136.590828: 1 branches:u:            0 [unknown] ([unknown]) =>     7fcb3f240707 __GI___ioctl (/usr/lib64/libc-2.22.so)
  perf 3797 [002] 8136.590828: 1 branches:u: 7fcb3f24070f __GI___ioctl (/usr/lib64/libc-2.22.so) =>    497e56 perf_evsel__enable (/home/acme/bin/perf)
  perf 3797 [002] 8136.590828: 1 branches:u:       497e58 perf_evsel__enable (/home/acme/bin/perf) =>  497e20 perf_evsel__enable (/home/acme/bin/perf)
  perf 3797 [002] 8136.590828: 1 branches:u:       497e27 perf_evsel__enable (/home/acme/bin/perf) =>  497e80 perf_evsel__enable (/home/acme/bin/perf)
  perf 3797 [002] 8136.590828: 1 branches:u:       497e87 perf_evsel__enable (/home/acme/bin/perf) =>  497e14 perf_evsel__enable (/home/acme/bin/perf)
  perf 3797 [002] 8136.590828: 1 branches:u:       497e1b perf_evsel__enable (/home/acme/bin/perf) =>  497e29 perf_evsel__enable (/home/acme/bin/perf)
  perf 3797 [002] 8136.590828: 1 branches:u:       497e51 perf_evsel__enable (/home/acme/bin/perf) =>  421d00 ioctl@plt (/home/acme/bin/perf)
  perf 3797 [002] 8136.590828: 1 branches:u:       421d00 ioctl@plt (/home/acme/bin/perf) =>  7fcb3f240700 __GI___ioctl (/usr/lib64/libc-2.22.so)
  perf 3797 [002] 8136.590828: 1 branches:u: 7fcb3f240705 __GI___ioctl (/usr/lib64/libc-2.22.so)   =>   0 [unknown] ([unknown])
  perf 3797 [002] 8136.590834: 1 branches:u:            0 [unknown] ([unknown]) =>     7fcb3f240707 __GI___ioctl (/usr/lib64/libc-2.22.so)
[root@jouet ~]# 
[root@jouet ~]# perf report -D | tail -20
.  0020:  00 00 00 00 00 00 00 00 07 14 b9 72 66 07 00 00  ...........rf...
.  0030:  03 00 00 00 00 00 00 00 1e 00 00 00 00 00 00 00  ................

3 8136592790535 0x11e688 [0x40]: PERF_RECORD_AUX offset: 0x28 size: 0x28 flags: 0 []

Aggregated stats: (excludes AUX area (e.g. instruction trace) decoded / synthesized events)
           TOTAL events:       8859
            MMAP events:        120
            COMM events:        509
            EXIT events:          1
            FORK events:        507
           MMAP2 events:       7673
             AUX events:          8
    ITRACE_START events:          4
 SWITCH_CPU_WIDE events:         26
  FINISHED_ROUND events:          2
   AUXTRACE_INFO events:          1
        AUXTRACE events:          8
intel_pt//u stats:
dummy:u stats:
[root@jouet ~]# 

Trying a suspend/resume now...

- Arnaldo

  reply	other threads:[~2016-03-01 18:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-25 14:21 Arnaldo Carvalho de Melo
2016-02-25 21:59 ` Adrian Hunter
2016-03-01 15:40   ` Adrian Hunter
2016-03-01 15:59     ` Arnaldo Carvalho de Melo
2016-03-01 18:20       ` Arnaldo Carvalho de Melo [this message]
2016-03-01 18:24         ` Arnaldo Carvalho de Melo
2016-03-01 19:12           ` Arnaldo Carvalho de Melo

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=20160301182035.GA3604@kernel.org \
    --to=acme@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=dsahern@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=namhyung@kernel.org \
    --cc=wangnan0@huawei.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

Powered by JetHome