Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-06-16 08:39:12

0001 // Copyright 2026, Jefferson Science Associates, LLC.
0002 // Subject to the terms in the LICENSE file found in the top-level directory.
0003 
0004 #include <JANA/JApplication.h>
0005 #include <JANA/JVersion.h>
0006 #include <JANA/Services/JPerfettoService.h>
0007 
0008 extern "C" {
0009 void InitPlugin(JApplication* app) {
0010     InitJANAPlugin(app);
0011     app->ProvideService(std::make_shared<JPerfettoService>());
0012 
0013     // Ensure that the call graph is recorded so that factory dependency chains
0014     // are captured alongside the Perfetto timeline.
0015     app->SetParameterValue("record_call_stack", 1);
0016 }
0017 } // extern "C"