Commit e6786cc
Support Node for z/OS (#474)
* Update omr-agentcore submodule to one with zOS
* Update omr-agentcore submodule again
* Add os390 target conditions to binding.gyp
* Pull new omr-agentcore level
* bump omr-agentcore
* Fix appmetrics zOS binding.gyp defines
* Bump omr-agentcore
* rebase omr-agentcore
* Bump omr-agentcore again
* Bump omr-ac
* Bmp omr-ac
* Bump omr-ac AGAIN
* Bump omr-agentc
* Bumper omr-core
* Bumpy
* BMP
* Bumppp
* Brumper
* BUMP
* BuMpEr
* Blump
* Blimp
* Bgump
* Make it clear what doesn't work on zOS yet
* Temporarily disable nodegcplugin
* attempt to stop nodegcplugin building again
* Fix nodegcplugin for zOS
* Put nodegcplugin back in for zOS
* Start debug logging
* IsGlobalAgent logging
* isGlobalAgentAlreadyLoaded logging
* iGAAL logging
* iGAAL logging
* iGAAL logging
* getRequireCache pragma convert test
* getRequireCache pragma convert test
* getRequireCache pragma convert test
* Remove isGlobalAgentAlreadyLoaded call on z/OS
* Remove isGlobalAgentAlreadyLoaded call on z/OS
* Remove isGlobalAgentAlreadyLoaded call on z/OS
* Comment out headless
* remove headless from index.js
* Remove zip from appmetrics.cpp
* Attempt to debug startup
* Testing whether pragma converts are required
* More logging around error
* More logging around error and after
* More pragma tomfoolery
* Taking it back to original
* Trying ASCII strings
* Trying ASCII strings #2
* Trying EBCDIC strings
* correct _zOS #ifdefs
* cast unsigned char * to char *
* use correct std::string constructor
* Trying ASCII strings with hope
* Can I get a parent?
* ASCIIfy all strings passed to Node functions
* EBCDICify all strings passed from Node functions
* Reinstate isGlobalAgentAlreadyLoaded()
* more output required
* more output required
* Bump omr-agentcore version
* Bump omr-agentcore again
* Bumper
* Brump
* Bumpybump
* Output agentcore version, remove heapdump
* More logging
* Fix compilation error
* Sort out getMonitorApiFunction path
* Rename pushData function to apiPushData
* Bump agentcore; remove unneeded debug
* Bumping agentcore to stop building CPUPlugin on zOS
* Remove cpuPlugin for z/OS
* Attempting to untangle env data
* Bump?
* Stop building common memory plugin for z/OS
* New Node Memory plugin (z/os specific)
* Fix compilation errors
* Fix more compilation errors
* ASCIIfy node strings?
* Properly ASCIIfy strings
* fix includes
* Logging time
* Typos
* Const char *s for logging
* Or not
* Formatted string log?
* Basic logs
* Add necessary handlescope
* Functional mutterings
* Is osObject null?
* Null or Undefined?
* Stop function calling
* attempt require
* attempt require
* attempt require
* attempt require
* attempt require
* attempting require
* attempting require
* More debug around names
* Remove broken function code
* Get readable output
* Attempting to traverse node structure
* Get appmetrics object??
* Calling via appmetrics index
* Calling via appmetrics index
* Clean up logging
* Improve logging
* Clearing up logging; add memory_node to memory types
* Update omr-agentcore to latest master
* Re-enable zip functionality for non-zOS platforms
* Include headlessutils.h for non-zOS plaforms
* Allow headless functionalisty on non-zOS platforms; fix .gitmodules
* Fix debug namespace conflict in nodezmemoryplugin
* Stop nodezmemoryplugin building on non-zOS platforms
* Stop CPU test for z/OS
* Explicitly state when tests are skipped due to platform1 parent f66f081 commit e6786cc
File tree
10 files changed
+467
-150
lines changed- src
- plugins/node
- gc
- memory
- tests
10 files changed
+467
-150
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 8 | + | |
| 9 | + | |
12 | 10 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
| |||
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
41 | | - | |
| 39 | + | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | | - | |
69 | | - | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
| |||
147 | 146 | | |
148 | 147 | | |
149 | 148 | | |
150 | | - | |
151 | 149 | | |
152 | 150 | | |
153 | 151 | | |
| |||
159 | 157 | | |
160 | 158 | | |
161 | 159 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
170 | 166 | | |
171 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
172 | 215 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
186 | 220 | | |
187 | 221 | | |
188 | 222 | | |
189 | | - | |
| 223 | + | |
190 | 224 | | |
191 | 225 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | | - | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
153 | 158 | | |
154 | 159 | | |
155 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
156 | 172 | | |
157 | 173 | | |
158 | 174 | | |
| |||
255 | 271 | | |
256 | 272 | | |
257 | 273 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | 274 | | |
267 | 275 | | |
268 | 276 | | |
| |||
315 | 323 | | |
316 | 324 | | |
317 | 325 | | |
318 | | - | |
319 | | - | |
| 326 | + | |
| 327 | + | |
320 | 328 | | |
321 | 329 | | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
322 | 336 | | |
323 | 337 | | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
328 | 352 | | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | 353 | | |
338 | 354 | | |
339 | 355 | | |
| |||
343 | 359 | | |
344 | 360 | | |
345 | 361 | | |
346 | | - | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
347 | 365 | | |
348 | | - | |
| 366 | + | |
349 | 367 | | |
350 | 368 | | |
351 | 369 | | |
| |||
Submodule omr-agentcore updated 24 files
- README.md+2-1
- binding.gyp+51-6
- darwin64.mk+1-1
- org.eclipse.paho.mqtt.c/src/MQTTAsync.c+1-1
- org.eclipse.paho.mqtt.c/src/MQTTPersistence.c+2-1
- org.eclipse.paho.mqtt.c/src/Messages.c+2-2
- org.eclipse.paho.mqtt.c/src/Socket.c+2-2
- org.eclipse.paho.mqtt.c/src/utf-8.c+2-1
- src/ibmras/common/common.h+1-1
- src/ibmras/common/port/Lock.cpp-4
- src/ibmras/common/port/zos/Process.cpp+42
- src/ibmras/common/port/zos/Thread.cpp+213
- src/ibmras/monitoring/Plugin.cpp+3-3
- src/ibmras/monitoring/agent/Agent.cpp+3-1
- src/ibmras/monitoring/connector/api/APIConnector.cpp+6-2
- src/ibmras/monitoring/connector/api/APIConnector.h+2
- src/ibmras/monitoring/connector/headless/HLConnector.cpp+2-5
- src/ibmras/monitoring/connector/headless/HLConnector.h-1
- src/ibmras/monitoring/plugins/common/cpu/CpuPlugin.h+2-2
- src/ibmras/monitoring/plugins/common/cpu/cpuplugin.cpp+14-5
- src/ibmras/monitoring/plugins/common/environment/envplugin.cpp+86-33
- src/ibmras/monitoring/plugins/common/environment/envplugin.h+2-2
- src/ibmras/monitoring/plugins/common/memory/MemoryPlugin.cpp+3-3
- src/ibmras/monitoring/plugins/common/memory/MemoryPlugin.h+2-2
0 commit comments