--- old/src/jdk.hotspot.agent/linux/native/libsaproc/proc_service.h 2019-01-10 19:12:54.351218717 +0900 +++ new/src/jdk.hotspot.agent/linux/native/libsaproc/proc_service.h 2019-01-10 19:12:54.142220615 +0900 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -26,12 +26,10 @@ #define _PROC_SERVICE_H_ #include -#include +#include #include "jni.h" +#include "libproc.h" -// Linux does not have the proc service library, though it does provide the -// thread_db library which can be used to manipulate threads without having -// to know the details of NPTL // copied from Solaris "proc_service.h" typedef enum { @@ -79,7 +77,6 @@ JNIEXPORT ps_err_e JNICALL ps_lgetregs(struct ps_prochandle *ph, lwpid_t lid, prgregset_t gregset); -// new libthread_db of NPTL seem to require this symbol JNIEXPORT ps_err_e JNICALL ps_get_thread_area();