gprofng: fix bug 29479 Collection fails when built without java support
authorVladimir Mezentsev <vladimir.mezentsev@oracle.com>
Thu, 18 Aug 2022 02:55:23 +0000 (19:55 -0700)
committerVladimir Mezentsev <vladimir.mezentsev@oracle.com>
Thu, 18 Aug 2022 18:15:56 +0000 (11:15 -0700)
commit49ddd814ac1071af7c4f45d5f8398b91862f2c7f
tree72fa6ee029bbdd10853c2bf15d5ef814ced19642
parentbde195b84a862f31ac111c0881ad13b89ee89492
gprofng: fix bug 29479 Collection fails when built without java support

gprofng/ChangeLog
2022-08-17  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>

PR gprofng/29479
* libcollector/collector.c: Add #if defined(GPROFNG_JAVA_PROFILING) for
java specific code.
* libcollector/unwind.c: Likewise.
gprofng/libcollector/collector.c
gprofng/libcollector/unwind.c