Closed StephanDollberg closed 1 year ago
I believe what you want to do can be already done with event_download -a. I guess should update the wiki to mention that.
I'm ok with having a env variable override, provided it is documented like all the other environment variables for ocperf.
I believe what you want to do can be already done with event_download -a. I guess should update the wiki to mention that.
Right, that creates the symlinks at least for everything but you still need a machine you can run python on?
I'm ok with having a env variable override, provided it is documented like all the other environment variables for ocperf.
Surely happy to update accordingly.
I assume you mean at the top of event_download.py? Any other spots where I should add something?
I think there is also https://github.com/andikleen/pmu-tools/wiki/Running-ocperf-toplev-when-not-on-the-internet but not sure I have perms for that.
Thanks!
With the event defintions now hosted on Github it is now fairly simple to download all CPU definitions in one go.
This patch allows overriding the download prefix url via an env var allowing an easier offline workflow:
Some offline version of this, e.g.: download the zips from github
followed by
This avoids two issues related to using toplev offline: