Coverage for /Syzygy/agent/common/process_utils.h

CoverageLines executed / instrumented / missingexe / inst / missLanguageGroup
0.0%0013.C++source

Line-by-line coverage:

   1    :  // Copyright 2012 Google Inc. All Rights Reserved.
   2    :  //
   3    :  // Licensed under the Apache License, Version 2.0 (the "License");
   4    :  // you may not use this file except in compliance with the License.
   5    :  // You may obtain a copy of the License at
   6    :  //
   7    :  //     http://www.apache.org/licenses/LICENSE-2.0
   8    :  //
   9    :  // Unless required by applicable law or agreed to in writing, software
  10    :  // distributed under the License is distributed on an "AS IS" BASIS,
  11    :  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12    :  // See the License for the specific language governing permissions and
  13    :  // limitations under the License.
  14    :  //
  15    :  // Process-related convenience utilities for agents.
  16    :  
  17    :  #ifndef SYZYGY_AGENT_COMMON_PROCESS_UTILS_H_
  18    :  #define SYZYGY_AGENT_COMMON_PROCESS_UTILS_H_
  19    :  
  20    :  #include <windows.h>
  21    :  
  22    :  // Forward declarations.
  23  m :  namespace trace {
  24  m :  namespace client {
  25  m :  class RpcSession;
  26  m :  class TraceFileSegment;
  27  m :  }  // namespace client
  28  m :  }  // namespace trace
  29    :  
  30  m :  namespace agent {
  31  m :  namespace common {
  32    :  
  33    :  // Logs a TRACE_PROCESS_ATTACH_EVENT to the provided @p segment and @p session.
  34    :  // If there is insufficient room in @p segment, returns the buffer to @p service
  35    :  // and allocates a new one.
  36    :  // @param module the module to be logged.
  37    :  // @param session the session owning @p segment.
  38    :  // @param segment the segment in which the event will be written.
  39    :  // @returns true on success, false otherwise.
  40  m :  bool LogModule(HMODULE module,
  41  m :                 trace::client::RpcSession* session,
  42  m :                 trace::client::TraceFileSegment* segment);
  43    :  
  44  m :  }  // namespace common
  45  m :  }  // namespace agent
  46    :  
  47    :  #endif  // SYZYGY_AGENT_COMMON_PROCESS_UTILS_H_

Coverage information generated Thu Jan 14 17:40:38 2016.