anchor.diff:          filelib:wildcard(filename:join([Home,".debug","tmp","jitted-*.so"])).
   
   symbols(Config) ->
  +    BuildIdDir = proplists:get_value(buildiddir, Config),
       DataFile = filename:join(
                    proplists:get_value(priv_dir, Config),
                    atom_to_list(?FUNCTION_NAME) ++ ".data"),
  -    os:cmd("perf record -q -o " ++ DataFile ++ " " ++
  +    os:cmd("perf "++ BuildIdDir ++" record -q -o " ++ DataFile ++ " " ++
              "erl +S 1 +JPperf true -noshell -eval '[lists:seq(1,10000) || _ <- lists:seq(1,1000)].' -s init stop"),
  -    Script = os:cmd("perf script -i " ++ DataFile),
  +    Script = os:cmd("perf "++ BuildIdDir ++" script -i " ++ DataFile),
       case re:run(Script,"\\$lists:seq[^/]+/[0-9]",[global,{capture,first,list}]) of
           {match,Matches} ->
               ct:log("Found these symbols: ~p",[lists:usort(Matches)]),
  
positive.code:                                    [{capture,all_but_first,list}]),
              case list_to_integer(Vsn) >= 5 of
                  true ->
                      DataFile = filename:join(
                                   proplists:get_value(priv_dir, Config),
                                   "init_test.data"),
                      Cmd = "perf record -q -o " ++ DataFile ++ " ls",
                      os:cmd(Cmd),
                      Script = os:cmd("perf script -i " ++ DataFile),
                      ct:log("~ts",[Script]),
                      case re:run(Script, "^\\W+ls",[multiline]) of
                          {match, _} ->
                              [{sobefore,get_tmp_so_files()}|Config];
                          nomatch ->
                              {skip, "could not run `"++ Cmd ++"`"}
                      end;
  
negative.code:     end.
      
  annotate(Config) ->
      BuildIdDir = proplists:get_value(buildiddir, Config),
      DataFile = filename:join(
                   proplists:get_value(priv_dir, Config),
                   atom_to_list(?FUNCTION_NAME) ++ ".data"),
      os:cmd("perf "++ BuildIdDir ++" record -k mono -q -o " ++ DataFile ++ " " ++
             "erl +S 1 +JPperf true -noshell -eval '[lists:seq(1,10000) || _ <- lists:seq(1,1000)].' -s init stop"),
      Script = os:cmd("perf "++ BuildIdDir ++" script -i " ++ DataFile),
  
      %% When doing "perf inject" the symbol of each function is changed
      %% from $lists:seq_loop/3 to lists:seq_loop/3. I don't know why that
  