[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTinB-0TzyRnjvOwWFetub1-4lhqxXFxYwsOhL3Kl@mail.gmail.com>
Date: Thu, 17 Jun 2010 16:54:57 +0200
From: Stephane Eranian <eranian@...gle.com>
To: linux-kernel@...r.kernel.org
Cc: peterz@...radead.org, mingo@...e.hu, paulus@...ba.org,
davem@...emloft.net, fweisbec@...il.com, acme@...radead.org,
perfmon2-devel@...ts.sf.net, eranian@...il.com, eranian@...gle.com,
Tom Zanussi <tzanussi@...il.com>
Subject: [BUG] perf: installed python -report scripts have bogus paths
Hi,
I was looking at the perf trace and python scripting support.
But I quickly ran into an issue. I compiled with:
$ make prefix=/usr
$ make prefix=/usr install
All the scripts are installed in /usr/libexec/perf-core/scripts/.....
The problem is that all the -report scripts have the .py script
paths hardcoded as ~/libexec/.....
Here is an example with syscall-counts-report
perf trace $@ -s ~/libexec/perf-core/scripts/python/syscall-counts.py $comm
That should either be stripped to syscall-counts.py and perf trace adds the
prefix or make install needs to patch the path in. Otherwise I don't see how
this can work unless I am confused about the usage model.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists