summaryrefslogtreecommitdiffstats
path: root/extras/lcov/lcov_post
diff options
context:
space:
mode:
Diffstat (limited to 'extras/lcov/lcov_post')
-rwxr-xr-xextras/lcov/lcov_post5
1 files changed, 4 insertions, 1 deletions
diff --git a/extras/lcov/lcov_post b/extras/lcov/lcov_post
index f439796cbf3..1aaf9865d24 100755
--- a/extras/lcov/lcov_post
+++ b/extras/lcov/lcov_post
@@ -6,4 +6,7 @@ cd build-root
rm -rf html
mkdir html
lcov --no-checksum --directory . --capture --output-file out.info
-genhtml out.info -o html
+lcov --remove out.info \
+ "/usr/include/*" "*/build-root/*" "/opt/*" "/usr/lib/*" \
+ -o filtered.info
+genhtml filtered.info -o html