Skip to content

Commit

Permalink
Remove extra ref to 'record_call_stack' from JTopologyBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwbrei committed Jul 30, 2024
1 parent bb88de9 commit f5e3fb3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 4 additions & 1 deletion src/libraries/JANA/Services/JComponentManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ void JComponentManager::Init() {
void JComponentManager::configure_components() {

m_params->SetDefaultParameter("event_source_type", m_user_evt_src_typename, "Manually specifies which JEventSource should open the input file");
m_params->SetDefaultParameter("record_call_stack", m_enable_call_graph_recording, "Records a trace of who called each factory. Reduces performance but necessary for plugins such as janadot.");
m_params->SetDefaultParameter("record_call_stack",
m_enable_call_graph_recording,
"Records a trace of who called each factory. Reduces performance but necessary for plugins such as janadot.")
->SetIsAdvanced(true);
m_params->SetDefaultParameter("jana:nevents", m_nevents, "Max number of events that sources can emit");
m_params->SetDefaultParameter("jana:nskip", m_nskip, "Number of events that sources should skip before starting emitting");
m_params->SetDefaultParameter("autoactivate", m_autoactivate, "List of factories to activate regardless of what the event processors request. Format is typename:tag,typename:tag");
Expand Down
3 changes: 0 additions & 3 deletions src/libraries/JANA/Topology/JTopologyBuilder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,6 @@ void JTopologyBuilder::acquire_services(JServiceLocator *sl) {
m_params->SetDefaultParameter("jana:locality", m_locality,
"Constrain memory locality. 0=No constraint. 1=Events stay on the same socket. 2=Events stay on the same NUMA domain. 3=Events stay on same core. 4=Events stay on same cpu/hyperthread.")
->SetIsAdvanced(true);
m_params->SetDefaultParameter("record_call_stack", m_enable_call_graph_recording,
"Records a trace of who called each factory. Reduces performance but necessary for plugins such as janadot.")
->SetIsAdvanced(true);

m_arrow_logger = m_logging->get_logger("JArrow");
m_queue_logger = m_logging->get_logger("JQueue");
Expand Down
1 change: 0 additions & 1 deletion src/libraries/JANA/Topology/JTopologyBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class JTopologyBuilder : public JService {
size_t m_event_source_chunksize = 40;
size_t m_event_processor_chunksize = 1;
size_t m_location_count = 1;
bool m_enable_call_graph_recording = false;
bool m_enable_stealing = false;
bool m_limit_total_events_in_flight = true;
int m_affinity = 0;
Expand Down

0 comments on commit f5e3fb3

Please sign in to comment.