comparison agent/src/os/linux/libproc.h @ 22627:e778e9aaed23

Add support for SPARC/Linux
author Stefan Anzinger <stefan.anzinger@oracle.com>
date Tue, 29 Sep 2015 08:13:01 -0700
parents 52b4284cb496
children dd9cc155639c
comparison
equal deleted inserted replaced
22626:b6b46b741102 22627:e778e9aaed23
32 32
33 #if defined(arm) || defined(ppc) 33 #if defined(arm) || defined(ppc)
34 #include "libproc_md.h" 34 #include "libproc_md.h"
35 #endif 35 #endif
36 36
37 #if defined(sparcv9) && defined(linux)
38 #include <asm/ptrace.h>
39 #else
37 #include <sys/ptrace.h> 40 #include <sys/ptrace.h>
41 #endif
38 42
39 /************************************************************************************ 43 /************************************************************************************
40 44
41 0. This is very minimal subset of Solaris libproc just enough for current application. 45 0. This is very minimal subset of Solaris libproc just enough for current application.
42 Please note that the bulk of the functionality is from proc_service interface. This 46 Please note that the bulk of the functionality is from proc_service interface. This