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; --- 209 unchanged lines hidden (view full) --- 218 int64_t ru_oublock; //!< block output operations 219 int64_t ru_msgsnd; //!< messages sent 220 int64_t ru_msgrcv; //!< messages received 221 int64_t ru_nsignals; //!< signals received 222 int64_t ru_nvcsw; //!< voluntary context switches 223 int64_t ru_nivcsw; //!< involuntary " 224 }; 225 |
226 static int openSpecialFile(std::string path, Process *process, 227 ThreadContext *tc); 228 static std::string procMeminfo(Process *process, ThreadContext *tc); |
229 230 // For futex system call 231 static const unsigned TGT_FUTEX_WAIT = 0; 232 static const unsigned TGT_FUTEX_WAKE = 1; 233 static const unsigned TGT_EAGAIN = 11; 234 static const unsigned TGT_EWOULDBLOCK = TGT_EAGAIN; 235 static const unsigned TGT_FUTEX_PRIVATE_FLAG = 128; 236 --- 32 unchanged lines hidden --- |