linux.hh (8794:e2ac2b7164dd) linux.hh (9112:6e854ea87bab)
1/*
2 * Copyright (c) 2004-2009 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 157 unchanged lines hidden (view full) ---

166 int64_t ru_nsignals; //!< signals received
167 int64_t ru_nvcsw; //!< voluntary context switches
168 int64_t ru_nivcsw; //!< involuntary "
169 };
170
171 static int openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc);
172 static std::string procMeminfo(LiveProcess *process, ThreadContext *tc);
173
1/*
2 * Copyright (c) 2004-2009 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 157 unchanged lines hidden (view full) ---

166 int64_t ru_nsignals; //!< signals received
167 int64_t ru_nvcsw; //!< voluntary context switches
168 int64_t ru_nivcsw; //!< involuntary "
169 };
170
171 static int openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc);
172 static std::string procMeminfo(LiveProcess *process, ThreadContext *tc);
173
174 // For futex system call
175 static const unsigned TGT_FUTEX_WAIT = 0;
176 static const unsigned TGT_FUTEX_WAKE = 1;
177 static const unsigned TGT_EAGAIN = 11;
178 static const unsigned TGT_EWOULDBLOCK = TGT_EAGAIN;
179
174}; // class Linux
175
176#endif // __LINUX_HH__
180}; // class Linux
181
182#endif // __LINUX_HH__