Please refer to:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source Summary | |
Total: 94% | |
Module Coverage % | |
plugin_event_manager 50% | |
plugin_manager 100% | |
plugin_manager_app 100% | |
plugin_manager_srv 100% | |
plugin_manager_sup 100% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* stap -vv log-module-loads.stap */ | |
probe syscall.init_module { | |
cmdline = cmdline_str() | |
time = ctime(gettimeofday_s()); | |
printf("%s - Process %s[%d] is loading a module via: '%s'\n", time, pexecname(), ppid(), cmdline ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global parent_id = target() | |
probe whatever { | |
if(ppid() == parent_id) { | |
printf("I am a child of the parent, roar !\n"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A non-maskable interrupt (NMI) is an interrupt type which differs from standard interrupt mechanism by enforcing attention from the interrupt processor (usually the CPU). This solution discusses an NMI is in more depth and how they are handled. | |
### What is an Interrupt ? ### | |
Modern systems architecture has created tightly coupled connect between system components. Work for components can be handed off to a component for completion. Rather than wait for the component the main CPU can be tasked to do other pending work. | |
When the component has completed its work it will raise a signal to the main processor. The main processor considers this signal an "interrupt", as the current work on the CPU will be interrupted immediately Each component has a number assigned to it. | |
### Why "mask" an interrupt ? ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <pcre.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
int main(int argc, char *argv[]) { | |
int i,rc; | |
const char *err; | |
int off; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-module(ee_rule). | |
-include_lib("eunit/include/eunit.hrl"). | |
-behaviour(gen_server). | |
%% API | |
-export([start_link/0]). | |
%% gen_server callbacks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Customer Focus: Meets or exceeds criteria | |
Prioritization: Meets or exceeds criteria | |
Collaboration: Not observed | |
Communication: Meets or exceeds criteria | |
Plan of Action: Meets or exceeds criteria | |
Resolution: Meets or exceeds criteria | |
KCS: Meets or exceeds criteria |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define MAXLEN 31 | |
#define PATH_PREFIX "/tmp/fhleak-mnt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1> producer:start_link(). | |
=INFO REPORT==== 17-Jul-2013::01:58:59 === | |
Negotiated maximums: (Channel = 0, Frame = 131072, Heartbeat = 600) | |
{ok,<0.36.0>} | |
2> consumer:start_link(dog). | |
consumer: init | |
=INFO REPORT==== 17-Jul-2013::01:59:06 === | |
Negotiated maximums: (Channel = 0, Frame = 131072, Heartbeat = 600) | |
{ok,<0.61.0>} |