summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
380c167)
The license issue is resolved, so we can package the .json
files. Added to the vpp-dev package in .tar.xz form, which saves a lot
of space.
Updated the perfmon error log entry: tell folks where to find the
compressed tarball, and how to extract it.
Change-Id: I3ed351fbf154cc3ba22d5f9c666acff77a2a14cf
Signed-off-by: Dave Barach <dave@barachs.net>
-# Perf monitor .json files
-for i in $(find ${1}/vpp/share/vpp/plugins/perfmon -name *.json -type f -print); do
+# Perf monitor .json tarball
+for i in $(find ${1}/vpp/share/vpp/plugins/perfmon -name *.tar.xz -type f -print); do
echo ../${i} /usr/share/vpp/plugins/perfmon >> ${2}
done
echo ../${i} /usr/share/vpp/plugins/perfmon >> ${2}
done
-# Reenable / extend when .json file license issue fixed
-#
-# set (PERFMON_JSON_FILES
-# haswell_core_v28.json
-# haswellx_core_v20.json
-# ivybridge_core_v21.json
-# ivytown_core_v20.json
-# jaketown_core_v20.json
-# sandybridge_core_v16.json
-# skylake_core_v42.json
-# skylakex_core_v1.12.json
-# )
-
-# install(
-# FILES ${PERFMON_JSON_FILES}
-# DESTINATION share/vpp/plugins/perfmon
-# COMPONENT vpp-dev
-# )
+install(
+ FILES PerfmonTables.tar.xz
+ DESTINATION share/vpp/plugins/perfmon
+ COMPONENT vpp-dev
+)
vlib_log_err (pm->log_class,
"Failed to read CPU-specific counter table");
vlib_log_err (pm->log_class,
vlib_log_err (pm->log_class,
"Failed to read CPU-specific counter table");
vlib_log_err (pm->log_class,
- "Download from https://download.01.org/perfmon, "
- "and install as %s", json_filename);
+ "Please install the vpp-dev package and then:");
+ vlib_log_err
+ (pm->log_class, "cd %s; sudo tar Jxf PerfmonTables.tar.xz", path);
+ vlib_log_err (pm->log_class, "and restart vpp.");
+
vec_free (json_filename);
clib_error_report (error);
return ht;
vec_free (json_filename);
clib_error_report (error);
return ht;