| Summary: | perf: missing python modules for scripts in 'perf report' | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Nora Bjorklund <nora.bjorklund> |
| Component: | kernel | Assignee: | Michael Opdenacker <michael.opdenacker> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | bruce.ashfield, randy.macleod, tom.zanussi |
| Version: | unspecified | ||
| Target Milestone: | 4.99 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
putting an estimate on this, but it is unlikely I'll have the cycles to deal with it in M3, so someone else may need to take this. The cycles never arrived for this, moving to 2.2 M1. I have this fixed, moving to 2.1 M4 Part of this work was done in 2.1, the remaining elements are to verify that this works on oe-core/yocto master, and see if any remaining python dependencies are missing. I won't have cycles for this. If someone else grabs it, I won't complain. Michael says this may be fixed. He's going to double check and close if it is. Confirming that we no longer have this issue in the latest "master" branch for Poky. I added this to local.conf: IMAGE_INSTALL:append = " perf" And then ran this on the qemux86-64 target: perf record -a perf report Happy to close this bug at last! |
Receiving below errors when running scripts from 'perf report' (scripts can be run by pressing ENTER in the UI, and then selecting for example 'Run scripts for all samples' and running one of the listed scripts. By installing python-math and python-sqlite3 I was able to overcome the first three errors, however the last one seems to depend on a python-module not available in poky. ---------------------- Traceback (most recent call last): File "/usr/libexec/perf-core/scripts/python/event_analyzing_sample.py", line 19, in <module> import math ImportError: No module named math Error running python script /usr/libexec/perf-core/scripts/python/event_analyzing_sample.py ---------------------- File "/usr/libexec/perf-core/scripts/python/export-to-postgresql.py", line 16, in <module> import datetime ImportError: No module named datetime Error running python script /usr/libexec/perf-core/scripts/python/export-to-postgresql.py ----------------------- /usr/libexec/perf-core/scripts/python/event_analyzing_sample.py Traceback (most recent call last): File "/usr/libexec/perf-core/scripts/python/event_analyzing_sample.py", line 21, in <module> import sqlite3 ImportError: No module named sqlite3 Error running python script /usr/libexec/perf-core/scripts/python/event_analyzing_sample.py ----------------------- File "/usr/libexec/perf-core/scripts/python/export-to-postgresql.py", line 18, in <module> from PySide.QtSql import * ImportError: No module named PySide.QtSql Error running python script /usr/libexec/perf-core/scripts/python/export-to-postgresql.py