diff options
author | Aaro Koskinen <aaro.koskinen@nokia.com> | 2015-09-30 15:57:55 +0300 |
---|---|---|
committer | Aaro Koskinen <aaro.koskinen@nokia.com> | 2015-09-30 15:57:55 +0300 |
commit | f2d28e80bc6260c90396e9fc798d559775dbde23 (patch) | |
tree | acf71075ab7d3c78135a4de5cdb3088cfb43ad8e /src/gpt-auto-generator | |
parent | 8cf3a4a3c54c82e48b9b600fdb81b77f2c03a469 (diff) |
bootchart: use get_proc_field and PROC_CPUINFO_MODEL
Use get_proc_field and PROC_CPUINFO_MODEL to get the CPU type. Also don't
fail if it missing, instead restore the old behaviour and print "Unknown".
Fixes the following error seen with v225 on powerpc:
Unable to read module name from cpuinfo.
Error generating svg file: No such file or directory
Diffstat (limited to 'src/gpt-auto-generator')
0 files changed, 0 insertions, 0 deletions