diff --git a/.gitignore b/.gitignore
index a64c22092440fc0949b0d1a0d01913b9ed51db7c..14484c8a8f400335ba1fd073faaf386a4308535e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 # ipfs can generate profiling dump files
-cpu.prof
+*.cpuprof
+*.memprof
 
 *.swp
 .ipfsconfig