All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Ahern <dsahern@gmail.com>
To: Mikhail Kulemin <mihkulemin@gmail.com>
Cc: Peipei Wang <wangpeipei.90@gmail.com>,
	perf group <linux-perf-users@vger.kernel.org>
Subject: Re: What should I do if I want to get Perf samples and Read Performance Counter at the same time?
Date: Fri, 30 Aug 2013 12:01:27 -0600	[thread overview]
Message-ID: <5220DDF7.5020704@gmail.com> (raw)
In-Reply-To: <CAKnzfP_QR1X1M8g0awamFNqgaMS1O2s5c6MgW2W5x7D3YnCMdQ@mail.gmail.com>

On 8/30/13 11:15 AM, Mikhail Kulemin wrote:
> You should fix perf-script.py
>
> replace   sys.path.append(os.environ['PERF_EXEC_PATH'] +
> '/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
> with

better to set/export PERF_EXEC_PATH before running the command.

David


>
> sys.path.append(os.getcwd()+"/tools/perf/scripts/python/
> Perf-Trace-Util/lib/Perf/Trace")
>
> this string instruct python interpreter where to find modules to load.
>
>
> Please check that "perf script" command works correctly (output all
> sample records from perf.data file)

  reply	other threads:[~2013-08-30 18:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAEuYUerYx9w=LdJsGG0PV0BKteMcoTL4ro=3+nfm8hBdXtuZ2w@mail.gmail.com>
2013-08-28 20:04 ` What should I do if I want to get Perf samples and Read Performance Counter at the same time? David Ahern
2013-08-29  4:59   ` Mikhail Kulemin
     [not found]     ` <CAEuYUeoj9YmHmD9SPv1OMdqaNV+C3e1UoMxTKW4kvQbmJxq2=A@mail.gmail.com>
2013-08-29 18:58       ` Mikhail Kulemin
     [not found]         ` <CAEuYUep-n=Pts8sFSusgOvKG8xTY8=aQqjb8mqtEpfUzz6ihCw@mail.gmail.com>
     [not found]           ` <CAEuYUepG4p2+ET81MdrrajgUvfgG4=WnNwSDKpPS8YSQ8EO+6w@mail.gmail.com>
     [not found]             ` <CAKnzfP99WV-p=WP0zgs-68+dy7pTxkfMPcDEmL_P6KL4jh2Umw@mail.gmail.com>
     [not found]               ` <CAEuYUepPNNpUQ8ysgyR6DK85_kUqiZyz=hdfnfwzFQtCG=mhuQ@mail.gmail.com>
2013-08-30  4:28                 ` Mikhail Kulemin
2013-08-30 13:33                   ` David Ahern
     [not found]                     ` <CAEuYUeoNJg4wjcpJNQeJH=-E4TQ1cQJVvB5P4z87KNGTXdP6_A@mail.gmail.com>
2013-08-30 17:15                       ` Mikhail Kulemin
2013-08-30 18:01                         ` David Ahern [this message]
2013-08-30 18:37                           ` Mikhail Kulemin
2013-08-30 22:42                           ` Peipei Wang
2013-08-28 17:23 Peipei Wang

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=5220DDF7.5020704@gmail.com \
    --to=dsahern@gmail.com \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mihkulemin@gmail.com \
    --cc=wangpeipei.90@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.