I can't execute callgrind_control.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I can't execute callgrind_control.

761 Views
Takashi_Kashiwagi
Senior Contributor I

Hi Community.

 

We are using IMX8MM and Linux4.19.

 

We can use valgrind but not callgrind_control.  I get the following error: Is there a workaround?

```

$ callgrind_control -i on
Can't locate File/Basename.pm in @INC (you may need to install the File::Basename module) (@INC contains: /usr/lib/perl5/site_perl/5.28.1/aarch64-linux /usr/lib/perl5/site_perl/5.28.1 /usr/lib/perl5/vendor_perl/5.28.1/aarch64-linux /usr/lib/perl5/vendor_perl/5.28.1 /usr/lib/perl5/5.28.1/aarch64-linux /usr/lib/perl5/5.28.1 .) at /usr/bin/callgrind_control line 26.
BEGIN failed--compilation aborted at /usr/bin/callgrind_control line 26.

$ ls /usr/lib/perl5/
5.28.1 config.sh site_perl
$ ls /usr/lib/perl5/site_perl/
5.28.1
$ ls /usr/lib/perl5/5.28.1/
aarch64-linux Exporter overload Pod vars.pm XSLoader.pm
Config.pm Exporter.pm overloading.pm strict.pm warnings
constant.pm Getopt overload.pm Text warnings.pm

```

 

We want to use callgrind_control as follows:

  1. $ valgrind --tool=callgrind --instr-atstart=no <XXXX>
  2. $ callgrind_control -i on

No. 2 doesn't work.

 

Best Regards,

T.Kashiwagi

0 Kudos
Reply
0 Replies