node-oom-heapdump 2.1.0-progress.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +2 -2
- package/.github/workflows/publish-native-assets-to-github-releases.yml +37 -37
- package/.travis.yml +13 -9
- package/CHANGELOG.md +103 -84
- package/LICENSE +21 -21
- package/README.md +143 -143
- package/binding.gyp +9 -9
- package/build/binding.sln +19 -0
- package/build/node_oom_heapdump_native.vcxproj +145 -0
- package/build/node_oom_heapdump_native.vcxproj.filters +14 -0
- package/index.js +122 -133
- package/lib/cpuProfileWorker.js +48 -48
- package/lib/heapdumpWorker.js +48 -48
- package/lib/index.js +193 -227
- package/lib/node_oom_heapdump_native.cc +119 -110
- package/package.json +50 -51
- package/tests/index.js +27 -27
- package/tests/long_running_process.js +26 -26
- package/tests/long_running_process_cpu.js +34 -34
- package/tests/oom_app.js +21 -21
- package/build/Makefile +0 -324
- package/build/binding.Makefile +0 -6
- package/build/node_oom_heapdump_native.target.mk +0 -157
@@ -1,157 +0,0 @@
|
|
1
|
-
# This file is generated by gyp; do not edit.
|
2
|
-
|
3
|
-
TOOLSET := target
|
4
|
-
TARGET := node_oom_heapdump_native
|
5
|
-
DEFS_Debug := \
|
6
|
-
'-DNODE_GYP_MODULE_NAME=node_oom_heapdump_native' \
|
7
|
-
'-DUSING_UV_SHARED=1' \
|
8
|
-
'-DUSING_V8_SHARED=1' \
|
9
|
-
'-DV8_DEPRECATION_WARNINGS=1' \
|
10
|
-
'-DV8_DEPRECATION_WARNINGS' \
|
11
|
-
'-DV8_IMMINENT_DEPRECATION_WARNINGS' \
|
12
|
-
'-D_LARGEFILE_SOURCE' \
|
13
|
-
'-D_FILE_OFFSET_BITS=64' \
|
14
|
-
'-DOPENSSL_NO_PINSHARED' \
|
15
|
-
'-DOPENSSL_THREADS' \
|
16
|
-
'-DBUILDING_NODE_EXTENSION' \
|
17
|
-
'-DDEBUG' \
|
18
|
-
'-D_DEBUG' \
|
19
|
-
'-DV8_ENABLE_CHECKS'
|
20
|
-
|
21
|
-
# Flags passed to all source files.
|
22
|
-
CFLAGS_Debug := \
|
23
|
-
-fPIC \
|
24
|
-
-pthread \
|
25
|
-
-Wall \
|
26
|
-
-Wextra \
|
27
|
-
-Wno-unused-parameter \
|
28
|
-
-m64 \
|
29
|
-
-g \
|
30
|
-
-O0
|
31
|
-
|
32
|
-
# Flags passed to only C files.
|
33
|
-
CFLAGS_C_Debug :=
|
34
|
-
|
35
|
-
# Flags passed to only C++ files.
|
36
|
-
CFLAGS_CC_Debug := \
|
37
|
-
-fno-rtti \
|
38
|
-
-fno-exceptions \
|
39
|
-
-std=gnu++1y
|
40
|
-
|
41
|
-
INCS_Debug := \
|
42
|
-
-I/home/renskepaul/.cache/node-gyp/12.14.1/include/node \
|
43
|
-
-I/home/renskepaul/.cache/node-gyp/12.14.1/src \
|
44
|
-
-I/home/renskepaul/.cache/node-gyp/12.14.1/deps/openssl/config \
|
45
|
-
-I/home/renskepaul/.cache/node-gyp/12.14.1/deps/openssl/openssl/include \
|
46
|
-
-I/home/renskepaul/.cache/node-gyp/12.14.1/deps/uv/include \
|
47
|
-
-I/home/renskepaul/.cache/node-gyp/12.14.1/deps/zlib \
|
48
|
-
-I/home/renskepaul/.cache/node-gyp/12.14.1/deps/v8/include \
|
49
|
-
-I$(srcdir)/node_modules/nan
|
50
|
-
|
51
|
-
DEFS_Release := \
|
52
|
-
'-DNODE_GYP_MODULE_NAME=node_oom_heapdump_native' \
|
53
|
-
'-DUSING_UV_SHARED=1' \
|
54
|
-
'-DUSING_V8_SHARED=1' \
|
55
|
-
'-DV8_DEPRECATION_WARNINGS=1' \
|
56
|
-
'-DV8_DEPRECATION_WARNINGS' \
|
57
|
-
'-DV8_IMMINENT_DEPRECATION_WARNINGS' \
|
58
|
-
'-D_LARGEFILE_SOURCE' \
|
59
|
-
'-D_FILE_OFFSET_BITS=64' \
|
60
|
-
'-DOPENSSL_NO_PINSHARED' \
|
61
|
-
'-DOPENSSL_THREADS' \
|
62
|
-
'-DBUILDING_NODE_EXTENSION'
|
63
|
-
|
64
|
-
# Flags passed to all source files.
|
65
|
-
CFLAGS_Release := \
|
66
|
-
-fPIC \
|
67
|
-
-pthread \
|
68
|
-
-Wall \
|
69
|
-
-Wextra \
|
70
|
-
-Wno-unused-parameter \
|
71
|
-
-m64 \
|
72
|
-
-O3 \
|
73
|
-
-fno-omit-frame-pointer
|
74
|
-
|
75
|
-
# Flags passed to only C files.
|
76
|
-
CFLAGS_C_Release :=
|
77
|
-
|
78
|
-
# Flags passed to only C++ files.
|
79
|
-
CFLAGS_CC_Release := \
|
80
|
-
-fno-rtti \
|
81
|
-
-fno-exceptions \
|
82
|
-
-std=gnu++1y
|
83
|
-
|
84
|
-
INCS_Release := \
|
85
|
-
-I/home/renskepaul/.cache/node-gyp/12.14.1/include/node \
|
86
|
-
-I/home/renskepaul/.cache/node-gyp/12.14.1/src \
|
87
|
-
-I/home/renskepaul/.cache/node-gyp/12.14.1/deps/openssl/config \
|
88
|
-
-I/home/renskepaul/.cache/node-gyp/12.14.1/deps/openssl/openssl/include \
|
89
|
-
-I/home/renskepaul/.cache/node-gyp/12.14.1/deps/uv/include \
|
90
|
-
-I/home/renskepaul/.cache/node-gyp/12.14.1/deps/zlib \
|
91
|
-
-I/home/renskepaul/.cache/node-gyp/12.14.1/deps/v8/include \
|
92
|
-
-I$(srcdir)/node_modules/nan
|
93
|
-
|
94
|
-
OBJS := \
|
95
|
-
$(obj).target/$(TARGET)/lib/node_oom_heapdump_native.o
|
96
|
-
|
97
|
-
# Add to the list of files we specially track dependencies for.
|
98
|
-
all_deps += $(OBJS)
|
99
|
-
|
100
|
-
# CFLAGS et al overrides must be target-local.
|
101
|
-
# See "Target-specific Variable Values" in the GNU Make manual.
|
102
|
-
$(OBJS): TOOLSET := $(TOOLSET)
|
103
|
-
$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
|
104
|
-
$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
|
105
|
-
|
106
|
-
# Suffix rules, putting all outputs into $(obj).
|
107
|
-
|
108
|
-
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
|
109
|
-
@$(call do_cmd,cxx,1)
|
110
|
-
|
111
|
-
# Try building from generated source, too.
|
112
|
-
|
113
|
-
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
|
114
|
-
@$(call do_cmd,cxx,1)
|
115
|
-
|
116
|
-
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
|
117
|
-
@$(call do_cmd,cxx,1)
|
118
|
-
|
119
|
-
# End of this set of suffix rules
|
120
|
-
### Rules for final target.
|
121
|
-
LDFLAGS_Debug := \
|
122
|
-
-pthread \
|
123
|
-
-rdynamic \
|
124
|
-
-m64
|
125
|
-
|
126
|
-
LDFLAGS_Release := \
|
127
|
-
-pthread \
|
128
|
-
-rdynamic \
|
129
|
-
-m64
|
130
|
-
|
131
|
-
LIBS :=
|
132
|
-
|
133
|
-
$(obj).target/node_oom_heapdump_native.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
|
134
|
-
$(obj).target/node_oom_heapdump_native.node: LIBS := $(LIBS)
|
135
|
-
$(obj).target/node_oom_heapdump_native.node: TOOLSET := $(TOOLSET)
|
136
|
-
$(obj).target/node_oom_heapdump_native.node: $(OBJS) FORCE_DO_CMD
|
137
|
-
$(call do_cmd,solink_module)
|
138
|
-
|
139
|
-
all_deps += $(obj).target/node_oom_heapdump_native.node
|
140
|
-
# Add target alias
|
141
|
-
.PHONY: node_oom_heapdump_native
|
142
|
-
node_oom_heapdump_native: $(builddir)/node_oom_heapdump_native.node
|
143
|
-
|
144
|
-
# Copy this to the executable output path.
|
145
|
-
$(builddir)/node_oom_heapdump_native.node: TOOLSET := $(TOOLSET)
|
146
|
-
$(builddir)/node_oom_heapdump_native.node: $(obj).target/node_oom_heapdump_native.node FORCE_DO_CMD
|
147
|
-
$(call do_cmd,copy)
|
148
|
-
|
149
|
-
all_deps += $(builddir)/node_oom_heapdump_native.node
|
150
|
-
# Short alias for building this executable.
|
151
|
-
.PHONY: node_oom_heapdump_native.node
|
152
|
-
node_oom_heapdump_native.node: $(obj).target/node_oom_heapdump_native.node $(builddir)/node_oom_heapdump_native.node
|
153
|
-
|
154
|
-
# Add executable to "all" target.
|
155
|
-
.PHONY: all
|
156
|
-
all: $(builddir)/node_oom_heapdump_native.node
|
157
|
-
|