Changeset: e46491cc4e3b for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/e46491cc4e3b Modified Files: monetdb5/mal/mal_profiler.h monetdb5/mal/mal_runtime.h sql/backends/monet5/sql_scenario.c Branch: Sep2022 Log Message:
Move declaration of runtimeProfileSetTag to mal_profiler.h. This way, nothing in mal_runtime.h is used outside of monetdb5. diffs (33 lines): diff --git a/monetdb5/mal/mal_profiler.h b/monetdb5/mal/mal_profiler.h --- a/monetdb5/mal/mal_profiler.h +++ b/monetdb5/mal/mal_profiler.h @@ -61,6 +61,7 @@ mal_export str closeProfilerStream(Clien mal_export void profilerEvent(MalEvent *me, NonMalEvent *nme); mal_export void sqlProfilerEvent(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci); +mal_export oid runtimeProfileSetTag(Client cntxt); mal_export str startProfiler(Client cntxt); mal_export str stopProfiler(Client cntxt); diff --git a/monetdb5/mal/mal_runtime.h b/monetdb5/mal/mal_runtime.h --- a/monetdb5/mal/mal_runtime.h +++ b/monetdb5/mal/mal_runtime.h @@ -62,7 +62,6 @@ typedef struct WORKINGSET{ mal_export Workingset workingset[THREADS]; -mal_export oid runtimeProfileSetTag(Client cntxt); mal_export void runtimeProfileInit(Client cntxt, MalBlkPtr mb, MalStkPtr stk); mal_export void runtimeProfileFinish(Client cntxt, MalBlkPtr mb, MalStkPtr stk); mal_export void runtimeProfileBegin(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci, RuntimeProfile prof); diff --git a/sql/backends/monet5/sql_scenario.c b/sql/backends/monet5/sql_scenario.c --- a/sql/backends/monet5/sql_scenario.c +++ b/sql/backends/monet5/sql_scenario.c @@ -32,7 +32,6 @@ #include "mal.h" #include "mal_instruction.h" #include "mal_interpreter.h" -#include "mal_runtime.h" #include "mal_parser.h" #include "mal_builder.h" #include "mal_namespace.h" _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org