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)

--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to