You can use WPAExporter to export tables defined in WPA Profiles. This works but is not optimal.
I have written ETWAnalyzer which converts aggregates into Json files which can programmatically be queried, or you can export the data further to a .csv file.
See https://github.com/Siemens-Healthineers/ETWAnalyzer
The workflow is
ETWAnalyzer -extract all -fd xxx.etl -symserver ms
This will create a json file and put it (by default) in a subfolder Extract with the same file name as the input ETL file.
Once you have extracted the data you can dump the data to console or export it further:
ETWAnalyzer -dump process -fd Extract\xxx.json -csv Process.csv
ETWAnalyzer -dump CPU -fd Extract\xxx.json -csv CPUOverView.csv
ETWAnalyzer -dump CPU -methods * -fd Extract\xxx.json -csv CPUDetails.csv
ETWAnalyzer -dump File -fd Extract\xxx.json -csv File.csv
ETWAnalyzer -dump Disk -fd Extract\xxx.json -csv Disk.csv
...
You can limit the data to a specific process with -processname which supports multiple filters and exclusion rules. Filters are separated with ;
-processname *ch*;!*chrome* will filter for all processes which contan ch but excludes chrome processes.