Hi,

first you can take a look at that file by doing something like "nano
/proc/sys/kernel/perf_event_paranoid".
As I would expect, the file should contain the value "2".

This is what your error message says and prevents gem5 from making the
systemcall.
So try to run this command as root:
"echo -1 > /proc/sys/kernel/perf_event_paranoid" (writes -1 into the file).

Regards



Am Do., 1. Dez. 2022 um 08:55 Uhr schrieb minhui via gem5-users <
[email protected]>:

> Dear *Pascal Haneder:*
>
>
> Much appreciated!
>
> but I am still not clear how to implement the fix
>
>
> I guess the file is /proc/sys/kernel/perf_vent_apranoid, how can I locate
> it?
>
> you mention “echo a „-1“, so we need to add one line of that command?
>
>
> Is there other option? like modifying gem5 source code to so gem5 can
> workaround the value of 2 or greater?
>
> thanks
>
>
> Minhui
> _______________________________________________
> gem5-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to