- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 18.220.194.186
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/libexec/pcp/pmdas/bcc/modules/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/libexec/pcp/pmdas/bcc/modules/kprobe_hits.bpf
// Copyright (C) 2019 Marko Myllynen <myllynen@redhat.com>
// Licensed under the Apache License, Version 2.0 (the "License")

#include <uapi/linux/ptrace.h>
#include <linux/sched.h>

DEFINE_DETAILS
DEFINE_LATENCY

struct kprobe_t {
    char kprobe[32];
};

struct details_t {
    char kprobe[32];
    u32 pid;
};

BPF_HASH(stats_ok, struct kprobe_t, u64, KPROBE_COUNT);
BPF_HASH(stats_fail, struct kprobe_t, u64, KPROBE_COUNT);
#ifdef LATENCY
BPF_HASH(latstats, struct details_t, u64, KPROBE_COUNT);
BPF_HASH(start, u64, u64);
#endif

#ifdef DETAILS
BPF_HASH(pidstats, struct details_t, u64, MAX_PIDS * KPROBE_COUNT);
#ifdef LATENCY
BPF_HASH(pidlatstats, struct details_t, u64, MAX_PIDS * KPROBE_COUNT);
#endif
#endif

Youez - 2016 - github.com/yon3zu
LinuXploit