File: ProfilerHelpers.h

package info (click to toggle)
procdump 2.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,900 kB
  • sloc: cpp: 42,512; ansic: 4,610; sh: 1,447; makefile: 107; cs: 76
file content (23 lines) | stat: -rw-r--r-- 718 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License

//--------------------------------------------------------------------
//
// Profiler helpers
//
//--------------------------------------------------------------------

#ifndef PROFILERHELPERS_H
#define PROFILERHELPERS_H

#define PROCDUMP_DIR        "/usr/local/bin"
#define PROFILER_FILE_NAME  "procdumpprofiler.so"
#define PROFILER_GUID       "{cf0d821e-299b-5307-a3d8-b283c03916dd}"

int InjectProfiler(pid_t pid, char* clientData);
int LoadProfiler(pid_t pid, char* clientData);
int ExtractProfiler();
char* GetEncodedExceptionFilter(char* exceptionFilterCmdLine, unsigned int numDumps);

#endif // PROFILERHELPERS_H