UTSASRG / Scaler

GNU General Public License v2.0
4 stars 0 forks source link

Ship a version to incepto #64

Closed GammaPi closed 2 years ago

GammaPi commented 2 years ago

The latest impl passes SPEC, parsec and previously real application tests. But I found a crash in some gcc build commands.

GammaPi commented 2 years ago

Ubuntu 18.04.6 (libc 2.27) Ubuntu 20.04.5 (libc 2.31) Automotive grade Linux (AGL) (libc 2.31)

It'll be good if you could provide the builds for both libc 2.27 and 2.31. 

GammaPi commented 2 years ago

Shipping is done. Closing.

'Hi, Download Scaler

You could download Scaler binaries from https://driveus.xttech.top/s/aPbPyRstD9HApYL .

I provided both libc231 and libc227 builds. Version Description

I provided two versions of Scaler for you to test, here are some differences.

I also included a visualization tool for v2.1 to interpret Scaler's output.

How to test

I suggest you test whether Scaler runs correctly and efficiently on various your applications first using the following order: "v2.0 Counting, v2.0 TimingFull, v2.0 DynamicSampling, v2.1 CountOnly v2.1 ......".

To get an apparent view of how Scaler works, you can use PrintTrace on a small program.

Running applications with Scaler first is easy and will save you time. If Scaler works correctly on your application, I can always customize a visualizer for you or add more profiling capability on top of Scaler's hook framework based on your needs.

For example, if you need to use Scaler to profile "/bin/ls" with parameter "-al", you simply use the following command:

LD_PRELOAD=/libScalerHook-v2_0-CountOnly.so /bin/ls -al

If the program exits normally, then it means Scaler can run successfully. You can also see some log output after you run the program.

How to report issues

The following things will help me debug:

- Scaler output logs to stdout/stderr

- Contents in the Scaler output data folder

- Coredumps

You can email issues to us directly. But I think it's much easier to communicate through an issue tracker. You can create an account in https://code.xttech.top/users/sign_up and report problems there. Thanks for the testing effort in advance!

Best,

Steven Tang