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
[root@w tmp]# stap -vv --vp 00001 /root/usertap/src/usertap.stp | |
Created temporary directory "/tmp/staphlk3IP" | |
SystemTap translator/driver (version 1.4/0.152 non-git sources) | |
Copyright (C) 2005-2011 Red Hat, Inc. and others | |
This is free software; see the source for copying conditions. | |
enabled features: AVAHI LIBRPM LIBSQLITE3 NSS BOOST_SHARED_PTR TR1_UNORDERED_MAP | |
Session arch: x86_64 release: 2.6.32-131.0.15.el6.x86_64 | |
Searched "/usr/share/systemtap/tapset/x86_64/*.stp", found 3 processed 3 | |
Searched "/usr/share/systemtap/tapset/*.stp", found 73 processed 73 | |
Pass 1: parsed user script and 76 library script(s) using 96876virt/22600res/2788shr kb, in 140usr/20sys/151real ms. |
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 Jekyll | |
module DateFilter | |
def ord(v) | |
(['1', '21', '31'].include?(v) && "st") || | |
(['2', '22'].include?(v) && "nd") || | |
(['3', '23'].include?(v) && "rd") || | |
"th" | |
end | |
def date_post(postdate) |
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
--- kcompat.h 2014-11-05 18:14:14.780832000 +0000 | |
+++ kcompat-modified.h 2014-11-05 18:16:53.552832000 +0000 | |
@@ -3172,8 +3172,6 @@ | |
#define u64_stats_update_begin(a) do { } while(0) | |
#define u64_stats_update_end(a) do { } while(0) | |
#define u64_stats_fetch_begin(a) do { } while(0) | |
-#define u64_stats_fetch_retry_bh(a) (0) | |
-#define u64_stats_fetch_begin_bh(a) (0) | |
#if (RHEL_RELEASE_CODE && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6,1)) |
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
#!/usr/bin/env python | |
# Find the IAM username belonging to the TARGET_ACCESS_KEY | |
# Useful for finding IAM user corresponding to a compromised AWS credential | |
# Requirements: | |
# | |
# Environmental variables: | |
# AWS_PROFILE | |
# python: |