repo_full_name
stringlengths
6
93
repo_url
stringlengths
25
112
repo_api_url
stringclasses
28 values
owner
stringclasses
28 values
repo_name
stringclasses
28 values
description
stringclasses
28 values
stars
int64
617
98.8k
forks
int64
31
355
watchers
int64
990
999
license
stringclasses
2 values
default_branch
stringclasses
2 values
repo_created_at
timestamp[s]date
2012-07-24 23:12:50
2025-06-16 08:07:28
repo_updated_at
timestamp[s]date
2026-02-23 15:23:15
2026-05-03 18:52:12
repo_topics
listlengths
0
13
repo_languages
unknown
is_fork
bool
1 class
open_issues
int64
3
104
file_path
stringlengths
3
208
file_name
stringclasses
509 values
file_extension
stringclasses
1 value
file_size_bytes
int64
101
84k
file_url
stringclasses
627 values
file_raw_url
stringclasses
627 values
file_sha
stringclasses
624 values
language
stringclasses
8 values
parsed_at
stringdate
2026-05-04 01:12:36
2026-05-04 19:41:55
text
stringlengths
100
102k
SamyPesse/How-to-Make-a-Computer-Operating-System
https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System
null
null
null
null
22,464
null
null
apache-2.0
null
null
null
null
null
null
null
src/kernel/modules/x86serial.h
null
null
null
null
null
null
C
2026-05-04T19:40:30.289785
#ifndef __X86Serial__ #define __X86Serial__ #include <runtime/types.h> #include <core/device.h> #include <io.h> #define COM1 0x3F8 #define IRQ_COM1 4 #define COM2 2F8 #define IRQ_COM2 3 #define COM3 3E8 #define IRQ_COM3 4 #define COM4 2E8 #define IRQ_COM4 3 class X86...
SamyPesse/How-to-Make-a-Computer-Operating-System
https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System
null
null
null
null
22,464
null
null
apache-2.0
null
null
null
null
null
null
null
src/kernel/runtime/alloc.h
null
null
null
null
null
null
C
2026-05-04T19:40:30.307732
#ifndef ALLOC_H #define ALLOC_H extern "C" { void *ksbrk(int); void *kmalloc(unsigned long); void kfree(void *); } #endif
SamyPesse/How-to-Make-a-Computer-Operating-System
https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System
null
null
null
null
22,464
null
null
apache-2.0
null
null
null
null
null
null
null
src/kernel/runtime/libc.h
null
null
null
null
null
null
C
2026-05-04T19:40:30.348990
#ifndef LIBC_H #define LIBC_H #include <stdarg.h> extern "C" { void itoa(char *buf, unsigned long int n, int base); void * memset(char *dst,char src, int n); void * memcpy(char *dst, char *src, int n); int strlen(char *s); int strcmp(const char *dst, char *src); int strcpy(char *dst,const char *src);...
SamyPesse/How-to-Make-a-Computer-Operating-System
https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System
null
null
null
null
22,464
null
null
apache-2.0
null
null
null
null
null
null
null
src/kernel/runtime/buffer.h
null
null
null
null
null
null
C
2026-05-04T19:40:30.358695
#ifndef BUFFER_H #define BUFFER_H class Buffer { public: Buffer(char* n,u32 siz); Buffer(); ~Buffer(); void add(u8* c,u32 s); u32 get(u8* c,u32 s); void clear(); u32 isEmpty(); Buffer &operator>>(char *c); u32 size; char* map; }; #endif
SamyPesse/How-to-Make-a-Computer-Operating-System
https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System
null
null
null
null
22,464
null
null
apache-2.0
null
null
null
null
null
null
null
src/kernel/runtime/list.h
null
null
null
null
null
null
C
2026-05-04T19:40:30.359305
#ifndef __LIST__ #define __LIST__ struct list_head { struct list_head *next, *prev; }; #define LIST_HEAD_INIT(name) { &(name), &(name) } #define LIST_HEAD(name) \ struct list_head name = LIST_HEAD_INIT(name) static inline void INIT_LIST_HEAD(struct list_head *list) { list->next = list; list->prev ...
SamyPesse/How-to-Make-a-Computer-Operating-System
https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System
null
null
null
null
22,464
null
null
apache-2.0
null
null
null
null
null
null
null
src/kernel/runtime/types.h
null
null
null
null
null
null
C
2026-05-04T19:40:30.397933
#ifndef TYPES_H #define TYPES_H /* * General C-Types */ typedef unsigned char u8; typedef unsigned short u16; typedef unsigned int u32; typedef unsigned long long u64; typedef signed char s8; typedef signed short s16; typedef signed int s32; typedef signed long long s64; typedef unsigned char u_char; t...
SamyPesse/How-to-Make-a-Computer-Operating-System
https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System
null
null
null
null
22,464
null
null
apache-2.0
null
null
null
null
null
null
null
src/sdk/include/_ansi.h
null
null
null
null
null
null
C
2026-05-04T19:40:30.409304
#ifndef _ANSIDECL_H_ #define _ANSIDECL_H_ /* ISO C++. */ #ifdef __cplusplus #if !(defined(_BEGIN_STD_C) && defined(_END_STD_C)) #ifdef _HAVE_STD_CXX #define _BEGIN_STD_C namespace std { extern "C" { #define _END_STD_C } } #else #define _BEGIN_STD_C extern "C" { #define _END_STD_C } #endif #if defined(__GNUC__...
SamyPesse/How-to-Make-a-Computer-Operating-System
https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System
null
null
null
null
22,464
null
null
apache-2.0
null
null
null
null
null
null
null
src/sdk/include/alloca.h
null
null
null
null
null
null
C
2026-05-04T19:40:30.449797
#ifndef _ALLOCA_H_ #define _ALLOCA_H_ #undef alloca #define alloca(size) __builtin_alloca(size) #endif /* _ALLOCA_H_ */
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/networking/dns_matching/dns_matching.c
null
null
null
null
null
null
C
2026-05-04T19:40:34.170431
/* * dns_matching.c Drop DNS packets requesting DNS name contained in hash map * For Linux, uses BCC, eBPF. See .py file. * * Copyright (c) 2016 Rudi Floren. * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as publish...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/cpp/pyperf/PyPerfType.h
null
null
null
null
null
null
C
2026-05-04T19:40:34.171641
/* * Copyright (c) Facebook, Inc. * Licensed under the Apache License, Version 2.0 (the "License") */ #pragma once #include <sys/types.h> #include <cstdint> #include <string> #include <vector> #define PYTHON_STACK_FRAMES_PER_PROG 25 #define PYTHON_STACK_PROG_CNT 3 #define STACK_MAX_LEN (PYTHON_STACK_FRAMES_PER_PR...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/networking/distributed_bridge/tunnel_mesh.c
null
null
null
null
null
null
C
2026-05-04T19:40:34.201588
// Copyright (c) PLUMgrid, Inc. // Licensed under the Apache License, Version 2.0 (the "License") #include <bcc/proto.h> struct config { int tunnel_ifindex; }; BPF_HASH(conf, int, struct config, 1); struct tunnel_key { u32 tunnel_id; u32 remote_ipv4; }; BPF_HASH(tunkey2if, struct tunnel_key, int, 1024); BPF_HA...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/cgroupid/cgroupid.c
null
null
null
null
null
null
C
2026-05-04T19:40:34.202846
#define _GNU_SOURCE #include <stdlib.h> #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdint.h> #include <ctype.h> #include <unistd.h> #include <linux/magic.h> #include <sys/vfs.h> #include <string.h> #include <errno.h> /* 67e9c74b8a873408c27ac9a8e4c1d1c8d72c93ff (4.5) */...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/cpp/pyperf/PyPerfUtil.h
null
null
null
null
null
null
C
2026-05-04T19:40:34.241224
/* * Copyright (c) Facebook, Inc. * Licensed under the Apache License, Version 2.0 (the "License") */ #pragma once #include <string> #include <unordered_map> #include <vector> #include <linux/perf_event.h> #include <sys/types.h> #include "BPF.h" #include "PyPerfSampleProcessor.h" #include "PyPerfType.h" namespa...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/cpp/pyperf/PyPerfLoggingHelper.h
null
null
null
null
null
null
C
2026-05-04T19:40:34.242210
/* * Copyright (c) Facebook, Inc. * Licensed under the Apache License, Version 2.0 (the "License") */ #pragma once #include <cstdint> namespace ebpf { namespace pyperf { void setVerbosity(uint64_t verbosityLevel); void logInfo(uint64_t logLevel, const char* fmt, ...); } // namespace pyperf } // namespace ebpf...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/cpp/pyperf/PyPerfDefaultPrinter.h
null
null
null
null
null
null
C
2026-05-04T19:40:34.275443
/* * Copyright (c) Facebook, Inc. * Licensed under the Apache License, Version 2.0 (the "License") */ #pragma once #include "PyPerfSampleProcessor.h" namespace ebpf { namespace pyperf { class PyPerfDefaultPrinter : public PyPerfSampleProcessor { public: PyPerfDefaultPrinter(bool showGILState, bool showThreadS...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/networking/distributed_bridge/tunnel.c
null
null
null
null
null
null
C
2026-05-04T19:40:34.300798
// Copyright (c) PLUMgrid, Inc. // Licensed under the Apache License, Version 2.0 (the "License") #include <bcc/proto.h> BPF_HASH(vni2if, u32, int, 1024); struct vni_key { u64 mac; int ifindex; int pad; }; struct host { u32 tunnel_id; u32 remote_ipv4; u64 rx_pkts; u64 tx_pkts; }; BPF_HASH(mac2host, stru...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/lua/bashreadline.c
null
null
null
null
null
null
C
2026-05-04T19:40:34.309206
#include <uapi/linux/ptrace.h> struct str_t { u64 pid; char str[80]; }; BPF_PERF_OUTPUT(events); int printret(struct pt_regs *ctx) { struct str_t data = {}; u32 pid; if (!PT_REGS_RC(ctx)) return 0; pid = bpf_get_current_pid_tgid(); data.pid = pid; bpf_probe_read_user(&d...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/cpp/pyperf/PyPerfSampleProcessor.h
null
null
null
null
null
null
C
2026-05-04T19:40:34.336357
/* * Copyright (c) Facebook, Inc. * Licensed under the Apache License, Version 2.0 (the "License") */ #pragma once #include <vector> #include "PyPerfType.h" namespace ebpf { namespace pyperf { class PyPerfUtil; class PyPerfSampleProcessor { public: virtual void processSamples(const std::vector<PyPerfSample>...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/networking/tcp_mon_block/src/tcp_mon_block.c
null
null
null
null
null
null
C
2026-05-04T19:40:34.780950
/*author: https://github.com/agentzex Licensed under the Apache License, Version 2.0 (the "License") tcp_mon_block.c - uses netlink TC, kernel tracepoints and kprobes to monitor outgoing connections from given PIDs and block connections to all addresses initiated from them (acting like an in-process firewall), unless ...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/networking/http_filter/http-parse-simple.c
null
null
null
null
null
null
C
2026-05-04T19:40:34.815902
#include <uapi/linux/ptrace.h> #include <net/sock.h> #include <bcc/proto.h> #define IP_TCP 6 #define ETH_HLEN 14 /*eBPF program. Filter IP and TCP packets, having payload not empty and containing "HTTP", "GET", "POST" ... as first bytes of payload if the program is loaded as PROG_TYPE_SOCKET_FILTER and attac...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/networking/neighbor_sharing/tc_neighbor_sharing.c
null
null
null
null
null
null
C
2026-05-04T19:40:34.821038
// Copyright (c) PLUMgrid, Inc. // Licensed under the Apache License, Version 2.0 (the "License") #include <bcc/proto.h> struct ipkey { u32 client_ip; }; BPF_HASH(learned_ips, struct ipkey, int, 1024); // trivial action int pass(struct __sk_buff *skb) { return 1; } // Process each wan packet, and determine if ...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/networking/http_filter/http-parse-complete.c
null
null
null
null
null
null
C
2026-05-04T19:40:34.848711
#include <uapi/linux/ptrace.h> #include <net/sock.h> #include <bcc/proto.h> #define IP_TCP 6 #define ETH_HLEN 14 struct Key { u32 src_ip; //source ip u32 dst_ip; //destination ip unsigned short src_port; //source port unsigned short dst_port; //destination port }; struct Leaf { in...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/tracing/task_switch.c
null
null
null
null
null
null
C
2026-05-04T19:40:34.917485
#include <uapi/linux/ptrace.h> #include <linux/sched.h> struct key_t { u32 prev_pid; u32 curr_pid; }; BPF_HASH(stats, struct key_t, u64, 1024); int count_sched(struct pt_regs *ctx, struct task_struct *prev) { struct key_t key = {}; u64 zero = 0, *val; key.curr_pid = bpf_get_current_pid_tgid(); ...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/networking/vlan_filter/data-plane-tracing.c
null
null
null
null
null
null
C
2026-05-04T19:40:34.918690
#include <uapi/linux/ptrace.h> #include <net/sock.h> #include <bcc/proto.h> #define IP_TCP 6 #define IP_UDP 17 #define IP_ICMP 1 /* In 802.3, both the source and destination addresses are 48 bits (4 bytes) MAC address. 6 bytes (src) + 6 bytes (dst) + 2 bytes (type) = 14 bytes */ #define ETH_HLEN 14 /*eBPF progra...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/usdt_sample/scripts/bpf_text_shared.c
null
null
null
null
null
null
C
2026-05-04T19:40:34.934189
#include <linux/blkdev.h> #include <uapi/linux/ptrace.h> /** * @brief Helper method to filter based on the specified inputString. * @param inputString The operation input string to check against the filter. * @return True if the specified inputString starts with the hard-coded filter string; otherwise, false. */ s...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/networking/tunnel_monitor/monitor.c
null
null
null
null
null
null
C
2026-05-04T19:40:34.980443
// Copyright (c) PLUMgrid, Inc. // Licensed under the Apache License, Version 2.0 (the "License") #include <bcc/proto.h> struct ipkey { u32 inner_sip; u32 inner_dip; u32 outer_sip; u32 outer_dip; u32 vni; }; struct counters { u64 tx_pkts; u64 rx_pkts; u64 tx_bytes; u64 rx_bytes; }; BPF_HASH(stats, s...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/tracing/vfsreadlat.c
null
null
null
null
null
null
C
2026-05-04T19:40:35.010563
/* * vfsreadlat.c VFS read latency distribution. * For Linux, uses BCC, eBPF. See .py file. * * Copyright (c) 2013-2015 PLUMgrid, http://plumgrid.com * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/networking/vlan_learning/vlan_learning.c
null
null
null
null
null
null
C
2026-05-04T19:40:35.036254
// Copyright (c) PLUMgrid, Inc. // Licensed under the Apache License, Version 2.0 (the "License") #include <bcc/proto.h> struct ifindex_leaf_t { int out_ifindex; u16 vlan_tci; // populated by phys2virt and used by virt2phys u16 vlan_proto; // populated by phys2virt and used by virt2phys u64 tx_pkts; u64 tx_...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
examples/usdt_sample/usdt_sample_lib1/include/usdt_sample_lib1/lib1.h
null
null
null
null
null
null
C
2026-05-04T19:40:35.402996
#pragma once // std #include <cstdint> #include <future> #include <random> #include <string> /** * @brief Contains the operation request data. */ class OperationRequest { public: OperationRequest(const std::string& input); const std::string& input() const { return _input; } private: std::string _input;...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/bashreadline.bpf.c
null
null
null
null
null
null
C
2026-05-04T19:40:35.482643
/* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2021 Facebook */ #include <vmlinux.h> #include <bpf/bpf_helpers.h> #include <bpf/bpf_tracing.h> #include "bashreadline.h" #define TASK_COMM_LEN 16 struct { __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY); __uint(key_size, sizeof(__u32)); __uint(value_size, sizeof...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
introspection/bps.c
null
null
null
null
null
null
C
2026-05-04T19:40:35.487210
#include <time.h> #include <stdio.h> #include <errno.h> #include <string.h> #include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <unistd.h> #include <ctype.h> #include <sysexits.h> #include "libbpf.h" // TODO: Remove this when CentOS 6 support is not needed anymore #ifndef CLOCK_BOOTTIME #define CLOCK_...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/bashreadline.c
null
null
null
null
null
null
C
2026-05-04T19:40:35.506237
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ /* Copyright (c) 2021 Facebook */ #include <argp.h> #include <stdio.h> #include <errno.h> #include <signal.h> #include <time.h> #include <unistd.h> #include <ctype.h> #include <bpf/libbpf.h> #include <bpf/bpf.h> #include "bashreadline.h" #include "bashreadline....
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/bashreadline.h
null
null
null
null
null
null
C
2026-05-04T19:40:35.532926
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ /* Copyright (c) 2021 Facebook */ #ifndef __BASHREADLINE_H #define __BASHREADLINE_H #define MAX_LINE_SIZE 80 struct str_t { __u32 pid; char str[MAX_LINE_SIZE]; }; #endif /* __BASHREADLINE_H */
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/bindsnoop.bpf.c
null
null
null
null
null
null
C
2026-05-04T19:40:35.595434
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ /* Copyright (c) 2021 Hengqi Chen */ #include <vmlinux.h> #include <bpf/bpf_helpers.h> #include <bpf/bpf_core_read.h> #include <bpf/bpf_tracing.h> #include <bpf/bpf_endian.h> #include "bindsnoop.h" #include "core_fixes.bpf.h" #define MAX_ENTRIES 10240 #define ...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/bindsnoop.h
null
null
null
null
null
null
C
2026-05-04T19:40:35.667500
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ #ifndef __BINDSNOOP_H #define __BINDSNOOP_H #define TASK_COMM_LEN 16 struct bind_event { __u8 addr[16]; __u64 ts_us; __u32 pid; __u32 bound_dev_if; int ret; __u16 port; __u16 proto; __u8 opts; __u8 ver; char task[TASK_COMM_LEN]; }; union bind_option...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/bindsnoop.c
null
null
null
null
null
null
C
2026-05-04T19:40:35.779779
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ /* * Copyright (c) 2021 Hengqi Chen * * Based on bindsnoop(8) from BCC by Pavel Dubovitsky. * 11-May-2021 Hengqi Chen Created this. */ #include <argp.h> #include <arpa/inet.h> #include <errno.h> #include <signal.h> #include <string.h> #include <sys/soc...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/biolatency.bpf.c
null
null
null
null
null
null
C
2026-05-04T19:40:36.051098
// SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2020 Wenbo Zhang #include <vmlinux.h> #include <bpf/bpf_helpers.h> #include <bpf/bpf_core_read.h> #include <bpf/bpf_tracing.h> #include "biolatency.h" #include "bits.bpf.h" #include "core_fixes.bpf.h" #define MAX_ENTRIES 10240 extern int LINUX_KERNEL_VERSION __kco...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/biolatency.h
null
null
null
null
null
null
C
2026-05-04T19:40:36.085611
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ #ifndef __BIOLATENCY_H #define __BIOLATENCY_H #define DISK_NAME_LEN 32 #define MAX_SLOTS 27 #define MINORBITS 20 #define MINORMASK ((1U << MINORBITS) - 1) #define MKDEV(ma, mi) (((ma) << MINORBITS) | (mi)) struct hist_key { __u32 cmd_flags; __u32 dev; }; ...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/biopattern.bpf.c
null
null
null
null
null
null
C
2026-05-04T19:40:36.092125
// SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2020 Wenbo Zhang #include <vmlinux.h> #include <bpf/bpf_helpers.h> #include <bpf/bpf_tracing.h> #include "biopattern.h" #include "maps.bpf.h" #include "core_fixes.bpf.h" const volatile bool filter_dev = false; const volatile __u32 targ_dev = 0; struct { __uint(typ...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/biopattern.h
null
null
null
null
null
null
C
2026-05-04T19:40:36.105000
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) #ifndef __BIOPATTERN_H #define __BIOPATTERN_H #define DISK_NAME_LEN 32 struct counter { __u64 last_sector; __u64 bytes; __u32 sequential; __u32 random; }; #endif /* __BIOPATTERN_H */
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/biopattern.c
null
null
null
null
null
null
C
2026-05-04T19:40:36.158318
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) // Copyright (c) 2020 Wenbo Zhang // // Based on biopattern(8) from BPF-Perf-Tools-Book by Brendan Gregg. // 17-Jun-2020 Wenbo Zhang Created this. #include <argp.h> #include <signal.h> #include <stdio.h> #include <unistd.h> #include <time.h> #include <bpf/libbp...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/biosnoop.bpf.c
null
null
null
null
null
null
C
2026-05-04T19:40:36.159373
// SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2020 Wenbo Zhang #include <vmlinux.h> #include <bpf/bpf_helpers.h> #include <bpf/bpf_core_read.h> #include <bpf/bpf_tracing.h> #include "biosnoop.h" #include "core_fixes.bpf.h" #define MAX_ENTRIES 10240 const volatile bool filter_cg = false; const volatile bool tar...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/biolatency.c
null
null
null
null
null
null
C
2026-05-04T19:40:36.181796
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) // Copyright (c) 2020 Wenbo Zhang // // Based on biolatency(8) from BCC by Brendan Gregg. // 15-Jun-2020 Wenbo Zhang Created this. #include <argp.h> #include <signal.h> #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <time.h> #include <bpf/li...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/biosnoop.c
null
null
null
null
null
null
C
2026-05-04T19:40:36.248091
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) // Copyright (c) 2020 Wenbo Zhang // // Based on biosnoop(8) from BCC by Brendan Gregg. // 29-Jun-2020 Wenbo Zhang Created this. #include <argp.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <time.h> #include <bpf/lib...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/biostacks.bpf.c
null
null
null
null
null
null
C
2026-05-04T19:40:36.443130
// SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2020 Wenbo Zhang #include <vmlinux.h> #include <bpf/bpf_helpers.h> #include <bpf/bpf_core_read.h> #include <bpf/bpf_tracing.h> #include "biostacks.h" #include "bits.bpf.h" #include "maps.bpf.h" #include "core_fixes.bpf.h" #define MAX_ENTRIES 10240 const volatile bo...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/biosnoop.h
null
null
null
null
null
null
C
2026-05-04T19:40:36.444644
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) #ifndef __BIOSNOOP_H #define __BIOSNOOP_H #define DISK_NAME_LEN 32 #define TASK_COMM_LEN 16 #define RWBS_LEN 8 #define MINORBITS 20 #define MINORMASK ((1U << MINORBITS) - 1) #define MKDEV(ma, mi) (((ma) << MINORBITS) | (mi)) struct event { char comm[TASK_COMM_...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/biostacks.h
null
null
null
null
null
null
C
2026-05-04T19:40:36.726266
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ #ifndef __BIOSTACKS_H #define __BIOSTACKS_H #define DISK_NAME_LEN 32 #define TASK_COMM_LEN 16 #define MAX_SLOTS 20 #define MAX_STACK 20 #define MINORBITS 20 #define MINORMASK ((1U << MINORBITS) - 1) #define MKDEV(ma, mi) (((ma) << MINORBITS) | (mi)) struct r...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/biotop.bpf.c
null
null
null
null
null
null
C
2026-05-04T19:40:36.744404
// SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2022 Francis Laniel <flaniel@linux.microsoft.com> #include <vmlinux.h> #include <bpf/bpf_helpers.h> #include <bpf/bpf_core_read.h> #include <bpf/bpf_tracing.h> #include "biotop.h" #include "maps.bpf.h" #include "core_fixes.bpf.h" const volatile pid_t target_pid = 0...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/biotop.c
null
null
null
null
null
null
C
2026-05-04T19:40:36.760513
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) /* * biotop Trace block I/O by process. * Copyright (c) 2022 Francis Laniel <flaniel@linux.microsoft.com> * * Based on biotop(8) from BCC by Brendan Gregg. * 03-Mar-2022 Francis Laniel Created this. * 23-Nov-2023 Pcheng Cui Add PID filter support...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/biostacks.c
null
null
null
null
null
null
C
2026-05-04T19:40:36.812165
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) // Copyright (c) 2020 Wenbo Zhang // // Based on biostacks(8) from BPF-Perf-Tools-Book by Brendan Gregg. // 10-Aug-2020 Wenbo Zhang Created this. #include <argp.h> #include <signal.h> #include <stdio.h> #include <unistd.h> #include <bpf/libbpf.h> #include <bpf/...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/bitesize.c
null
null
null
null
null
null
C
2026-05-04T19:40:36.840984
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) // Copyright (c) 2020 Wenbo Zhang // // Based on bitesize(8) from BCC by Brendan Gregg. // 16-Jun-2020 Wenbo Zhang Created this. #include <argp.h> #include <signal.h> #include <stdio.h> #include <unistd.h> #include <time.h> #include <bpf/libbpf.h> #include <bpf...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/biotop.h
null
null
null
null
null
null
C
2026-05-04T19:40:36.869388
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ #ifndef __BIOTOP_H #define __BIOTOP_H #define REQ_OP_BITS 8 #define REQ_OP_MASK ((1 << REQ_OP_BITS) - 1) #define TASK_COMM_LEN 16 /* for saving the timestamp and __data_len of each request */ struct start_req_t { __u64 ts; __u64 data_len; }; /* for saving ...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/bitesize.bpf.c
null
null
null
null
null
null
C
2026-05-04T19:40:36.873438
// SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2020 Wenbo Zhang #include <vmlinux.h> #include <bpf/bpf_helpers.h> #include <bpf/bpf_tracing.h> #include <bpf/bpf_core_read.h> #include "bitesize.h" #include "bits.bpf.h" #include "core_fixes.bpf.h" const volatile char targ_comm[TASK_COMM_LEN] = {}; const volatile b...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/bitesize.h
null
null
null
null
null
null
C
2026-05-04T19:40:37.040230
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) #ifndef __BITESIZE_H #define __BITESIZE_H #define TASK_COMM_LEN 16 #define DISK_NAME_LEN 32 #define MAX_SLOTS 20 #define MINORBITS 20 #define MINORMASK ((1U << MINORBITS) - 1) #define MKDEV(ma, mi) (((ma) << MINORBITS) | (mi)) struct hist_key { char comm[TASK_...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/blk_types.h
null
null
null
null
null
null
C
2026-05-04T19:40:37.260210
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ #ifndef __BLK_TYPES_H #define __BLK_TYPES_H /* From include/linux/blk_types.h */ /* * Operations and flags common to the bio and request structures. * We use 8 bits for encoding the operation, and the remaining 24 for flags. * * The least significant bit o...
iovisor/bcc
https://github.com/iovisor/bcc
null
null
null
null
22,395
null
null
apache-2.0
null
null
null
null
null
null
null
libbpf-tools/bits.bpf.h
null
null
null
null
null
null
C
2026-05-04T19:40:37.322422
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ #ifndef __BITS_BPF_H #define __BITS_BPF_H #define READ_ONCE(x) (*(volatile typeof(x) *)&(x)) #define WRITE_ONCE(x, val) ((*(volatile typeof(x) *)&(x)) = val) static __always_inline u64 log2(u32 v) { u32 shift, r; r = (v > 0xFFFF) << 4; v >>= r; shift = (v ...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/include/esp_app_trace_config.h
null
null
null
null
null
null
C
2026-05-04T19:40:44.138247
/* * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #ifndef ESP_APP_TRACE_CONFIG_H_ #define ESP_APP_TRACE_CONFIG_H_ #include "sdkconfig.h" /* Default configurations for runtime selection (APPTRACE_DEST_ALL) * These values are used when building with bo...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/include/esp_app_trace.h
null
null
null
null
null
null
C
2026-05-04T19:40:44.139523
/* * SPDX-FileCopyrightText: 2017-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #ifndef ESP_APP_TRACE_H_ #define ESP_APP_TRACE_H_ #include <stdarg.h> #include "esp_err.h" #include "esp_app_trace_config.h" #include "esp_app_trace_util.h" // ESP_APPTRACE_TMO_INFINITE #ifdef __c...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/include/esp_dbg_stubs.h
null
null
null
null
null
null
C
2026-05-04T19:40:44.161714
/* * SPDX-FileCopyrightText: 2017-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #ifndef ESP_DBG_STUBS_H_ #define ESP_DBG_STUBS_H_ #ifdef __cplusplus extern "C" { #endif #include "esp_err.h" /** * Debug stubs entries IDs */ typedef enum { ESP_DBG_STUB_MAGIC_NUM, ES...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/app_trace_membufs_proto.c
null
null
null
null
null
null
C
2026-05-04T19:40:44.179687
/* * SPDX-FileCopyrightText: 2021-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ #include <sys/param.h> #include <string.h> #include "sdkconfig.h" #include "esp_log.h" #include "esp_cpu.h" #include "esp_app_trace_membufs_proto.h" /** Trace data header. Every user data c...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/host_file_io.c
null
null
null
null
null
null
C
2026-05-04T19:40:44.200330
/* * SPDX-FileCopyrightText: 2017-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ // // Hot It Works // ************ // // This module implements host file I/O protocol on top of apptrace module. // The protocol is enough simple. It sends command with arguments to the host and re...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/debug_stubs.c
null
null
null
null
null
null
C
2026-05-04T19:40:44.220396
/* * SPDX-FileCopyrightText: 2017-2023 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ // This module implements debug/trace stubs. The stub is a piece of special code which can invoked by OpenOCD // Currently one stub is used for GCOV functionality // #include "esp_private/startup_...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/include/esp_app_trace_util.h
null
null
null
null
null
null
C
2026-05-04T19:40:44.221643
/* * SPDX-FileCopyrightText: 2017-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #ifndef ESP_APP_TRACE_UTIL_H_ #define ESP_APP_TRACE_UTIL_H_ #ifdef __cplusplus extern "C" { #endif #include "esp_err.h" #include "esp_timer.h" #include "esp_app_trace_types.h" /** Infinite waitin...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/include/esp_app_trace_types.h
null
null
null
null
null
null
C
2026-05-04T19:40:44.230628
/* * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #ifndef ESP_APP_TRACE_TYPES_H_ #define ESP_APP_TRACE_TYPES_H_ #include <stdint.h> #include "spinlock.h" #ifdef __cplusplus extern "C" { #endif /** Structure which holds data necessary for measuring ti...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/app_trace.c
null
null
null
null
null
null
C
2026-05-04T19:40:44.232612
/* * SPDX-FileCopyrightText: 2017-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ #include <string.h> #include "esp_cpu.h" #include "esp_log.h" #include "esp_rom_sys.h" #include "esp_app_trace.h" #include "esp_app_trace_port.h" #include "esp_app_trace_types.h" #include "e...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/app_trace_util.c
null
null
null
null
null
null
C
2026-05-04T19:40:44.234012
/* * SPDX-FileCopyrightText: 2017-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ // #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_app_trace_util.h" #include "sdkconfig.h" #define ESP_APPTRACE_PRINT_LOCK 0 ///////////////////////////////////////...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/test_apps/main/test_app_trace_main.c
null
null
null
null
null
null
C
2026-05-04T19:40:46.140004
/* * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include "unity.h" #include "unity_test_runner.h" #include "esp_heap_caps.h" #define TEST_MEMORY_LEAK_THRESHOLD_DEFAULT 0 static int leak_threshold = TEST_MEMORY_LEAK_THRESHOLD_DEFAULT; void set_leak_t...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/test_apps/main/test_trace.c
null
null
null
null
null
null
C
2026-05-04T19:40:46.362098
/* * SPDX-FileCopyrightText: 2021-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <stddef.h> #include <stdint.h> #include <string.h> #include <stdio.h> #include <stdarg.h> #include "unity.h" #include "driver/gptimer.h" #include "esp_intr_alloc.h" #include "esp_rom_sys.h"...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/private_include/esp_app_trace_membufs_proto.h
null
null
null
null
null
null
C
2026-05-04T19:40:46.370488
/* * SPDX-FileCopyrightText: 2020-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #ifndef ESP_APP_TRACE_MEMBUFS_PROTO_H_ #define ESP_APP_TRACE_MEMBUFS_PROTO_H_ #include "esp_app_trace_util.h" #ifdef __cplusplus extern "C" { #endif /** TRAX HW transport state */ typedef struct...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/port/xtensa/port_jtag.c
null
null
null
null
null
null
C
2026-05-04T19:40:46.375429
/* * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ // // How It Works // ************ // 1. Components Overview // ====================== // Xtensa has useful feature: TRAX debug module. It allows recording program execution flow at run-time wi...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/port/include/esp_app_trace_port.h
null
null
null
null
null
null
C
2026-05-04T19:40:46.481867
/* * SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #ifndef ESP_APP_TRACE_PORT_H_ #define ESP_APP_TRACE_PORT_H_ #include "esp_app_trace_util.h" #ifdef __cplusplus extern "C" { #endif /** Apptrace HW interface. */ typedef struct { esp_err_t (*...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/port/riscv/port_jtag.c
null
null
null
null
null
null
C
2026-05-04T19:40:46.652914
/* * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 OR MIT */ #include "sdkconfig.h" #include "esp_cpu.h" #include "esp_log.h" #include "esp_app_trace_config.h" #include "esp_app_trace_membufs_proto.h" #include "esp_app_trace_port.h" #include "riscv/semihos...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_trace/port/port_uart.c
null
null
null
null
null
null
C
2026-05-04T19:40:46.850686
/* * SPDX-FileCopyrightText: 2017-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <stdint.h> #include <stdbool.h> #include <string.h> #include <inttypes.h> #include "esp_err.h" #include "esp_log.h" #include "esp_cpu.h" #include "esp_attr.h" #include "hal/uart_hal.h" #inc...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_update/test_apps/test_app_update/main/test_bootloader_update.c
null
null
null
null
null
null
C
2026-05-04T19:40:47.214874
/* * SPDX-FileCopyrightText: 2021-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ /* * Tests bootloader update. */ #include "unity.h" #include "esp_log.h" #include "esp_efuse.h" #include "esp_private/esp_flash_internal.h" //For dangerous write protection #include "esp_rom_sys....
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_update/test_apps/test_app_update/main/test_ota_ops.c
null
null
null
null
null
null
C
2026-05-04T19:40:47.343636
/* * SPDX-FileCopyrightText: 2021-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "esp_log.h" #include <freertos/FreeRTOS.h> #include <freertos/task.h> #include <freertos/semphr.h> #include <unity.h> #include <t...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_update/test_apps/test_app_update/main/test_ota_partitions.c
null
null
null
null
null
null
C
2026-05-04T19:40:47.344874
/* * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include "esp_ota_ops.h" #include "esp_partition.h" #include "esp_flash_partitions.h" #include "esp_flash.h" #include "spi_flash_mmap.h" #include "esp_image_format.h" #include "esp_system.h" #include "es...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_update/test_apps/test_app_update/main/test_switch_ota.c
null
null
null
null
null
null
C
2026-05-04T19:40:47.381358
/* * SPDX-FileCopyrightText: 2021-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ /* * Tests for switching between partitions: factory, OTAx, test. */ #include "esp_system.h" #include "bootloader_common.h" #include "../bootloader_flash/include/bootloader_flash_priv.h" #include...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_update/test_apps/test_app_update/main/utils_update.h
null
null
null
null
null
null
C
2026-05-04T19:40:47.605141
/* * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #pragma once #include <stdint.h> #include "esp_ota_ops.h" #include "esp_partition.h" #ifdef __cplusplus extern "C" { #endif /** * @brief Enumeration for specifying which OTA data sectors' CRCs to c...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader/subproject/components/micro-ecc/uECC_verify_antifault.c
null
null
null
null
null
null
C
2026-05-04T19:40:47.831853
/* * SPDX-FileCopyrightText: 2014, Kenneth MacKay * * SPDX-License-Identifier: BSD-2-Clause * * SPDX-FileContributor: 2020-2021 Espressif Systems (Shanghai) CO LTD */ /* uECC_verify() calls a number of static functions form here and uses other definitions, so we just build that whole source file here and then...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_update/esp_ota_ops.c
null
null
null
null
null
null
C
2026-05-04T19:40:48.019799
/* * SPDX-FileCopyrightText: 2015-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <stdint.h> #include <stdbool.h> #include <stddef.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <assert.h> #include "esp_err.h" #include "esp_partition.h" #include...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader/subproject/components/micro-ecc/uECC_verify_antifault.h
null
null
null
null
null
null
C
2026-05-04T19:40:48.028063
/* * SPDX-FileCopyrightText: 2014, Kenneth MacKay * * SPDX-License-Identifier: BSD-2-Clause * * SPDX-FileContributor: 2020-2021 Espressif Systems (Shanghai) CO LTD */ #pragma once #include "uECC.h" /* Version uECC_verify() that also copies message_hash to verified_hash if the signature is valid, and does it i...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/app_update/include/esp_ota_ops.h
null
null
null
null
null
null
C
2026-05-04T19:40:48.133395
/* * SPDX-FileCopyrightText: 2015-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #ifndef _OTA_OPS_H #define _OTA_OPS_H #include <stdint.h> #include <stdbool.h> #include <stddef.h> #include "esp_err.h" #include "esp_partition.h" #include "esp_app_desc.h" #include "esp_app_forma...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader/subproject/main/bootloader_start.c
null
null
null
null
null
null
C
2026-05-04T19:40:48.232781
/* * SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <stdbool.h> #include "sdkconfig.h" #include "esp_log.h" #include "esp_rom_sys.h" #include "esp_rom_caps.h" #include "bootloader_init.h" #include "bootloader_utility.h" #include "bootloader_...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader/subproject/main/bootloader_hooks.h
null
null
null
null
null
null
C
2026-05-04T19:40:48.248811
// Copyright 2015-2021 Espressif Systems (Shanghai) PTE LTD // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/include/bootloader_flash.h
null
null
null
null
null
null
C
2026-05-04T19:40:48.270036
/* * SPDX-FileCopyrightText: 2020-2024 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #pragma once #include <stdint.h> #include <esp_err.h> #include "spi_flash_mmap.h" /* including in bootloader for error values */ #include "esp_private/spi_flash_os.h" #include "sdkconfig.h" #includ...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/include/bootloader_flash_config.h
null
null
null
null
null
null
C
2026-05-04T19:40:48.461329
/* * SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #pragma once #include "sdkconfig.h" #include "esp_image_format.h" #ifdef __cplusplus extern "C" { #endif /** * @brief Update the flash id in g_rom_flashchip(global esp_rom_spiflash_chip_t struc...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/include/bootloader_flash_override.h
null
null
null
null
null
null
C
2026-05-04T19:40:48.713029
/* * SPDX-FileCopyrightText: 2020-2024 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #pragma once #include <stdint.h> #include "esp_err.h" #include "esp_attr.h" #ifdef __cplusplus extern "C" { #endif typedef unsigned (*bootloader_flash_read_status_fn_t)(void); typedef void (*boot...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/include/bootloader_flash_priv.h
null
null
null
null
null
null
C
2026-05-04T19:40:48.873423
/* * SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #ifndef __BOOTLOADER_FLASH_H #define __BOOTLOADER_FLASH_H #include <stddef.h> #include <stdbool.h> #include <stdint.h> #include <esp_err.h> #include <spi_flash_mmap.h> /* including in bootloader fo...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/include/esp_private/bootloader_flash_internal.h
null
null
null
null
null
null
C
2026-05-04T19:40:48.874451
/* * SPDX-FileCopyrightText: 2020-2024 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #pragma once #include <stdint.h> #include <esp_err.h> #include "soc/soc_caps.h" #ifdef __cplusplus extern "C" { #endif /** * @brief Initialize spi_flash in bootloader and print flash info * * @...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/include/flash_qio_mode.h
null
null
null
null
null
null
C
2026-05-04T19:40:48.980999
/* * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #pragma once #include <stdint.h> #ifdef __cplusplus extern "C" { #endif /** @brief Enable Quad I/O mode in bootloader (if configured) * * Queries attached SPI flash ID and sends correct SPI fla...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/src/bootloader_flash_config_esp32c2.c
null
null
null
null
null
null
C
2026-05-04T19:40:49.202211
/* * SPDX-FileCopyrightText: 2020-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <stdbool.h> #include <assert.h> #include "string.h" #include "sdkconfig.h" #include "esp_err.h" #include "esp_log.h" #include "esp_rom_gpio.h" #include "esp32c2/rom/spi_flash.h" #include "s...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/src/bootloader_flash_config_esp32.c
null
null
null
null
null
null
C
2026-05-04T19:40:49.224733
/* * SPDX-FileCopyrightText: 2018-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <stdbool.h> #include <assert.h> #include "string.h" #include "sdkconfig.h" #include "esp_err.h" #include "esp_log.h" #include "esp_rom_gpio.h" #include "esp_rom_efuse.h" #include "esp32/rom...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/src/bootloader_flash.c
null
null
null
null
null
null
C
2026-05-04T19:40:49.226076
/* * SPDX-FileCopyrightText: 2015-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <stddef.h> #include <bootloader_flash_priv.h> #include <esp_log.h> #include "esp_efuse.h" #include "sdkconfig.h" #include "soc/soc_caps.h" #include "hal/efuse_ll.h" #include "hal/efuse_hal...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/src/bootloader_flash_config_esp32c3.c
null
null
null
null
null
null
C
2026-05-04T19:40:49.331655
/* * SPDX-FileCopyrightText: 2020-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <stdbool.h> #include <assert.h> #include "string.h" #include "sdkconfig.h" #include "esp_err.h" #include "esp_log.h" #include "esp_rom_gpio.h" #include "esp_rom_efuse.h" #include "esp32c3/r...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/src/bootloader_flash_config_esp32c5.c
null
null
null
null
null
null
C
2026-05-04T19:40:49.519607
/* * SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <stdbool.h> #include <assert.h> #include "string.h" #include "sdkconfig.h" #include "esp_err.h" #include "esp_log.h" #include "esp_rom_gpio.h" #include "esp32c5/rom/spi_flash.h" #include "e...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/src/bootloader_flash_config_esp32c6.c
null
null
null
null
null
null
C
2026-05-04T19:40:49.756512
/* * SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <stdbool.h> #include <assert.h> #include "string.h" #include "sdkconfig.h" #include "esp_err.h" #include "esp_log.h" #include "esp_rom_gpio.h" #include "esp32c6/rom/spi_flash.h" #include "s...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/src/bootloader_flash_config_esp32c61.c
null
null
null
null
null
null
C
2026-05-04T19:40:49.758129
/* * SPDX-FileCopyrightText: 2024-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <stdbool.h> #include <assert.h> #include "string.h" #include "sdkconfig.h" #include "esp_err.h" #include "esp_log.h" #include "esp_rom_gpio.h" #include "esp32c61/rom/spi_flash.h" #include "...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/src/bootloader_flash_config_esp32h2.c
null
null
null
null
null
null
C
2026-05-04T19:40:49.926665
/* * SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <stdbool.h> #include <assert.h> #include "string.h" #include "sdkconfig.h" #include "esp_err.h" #include "esp_log.h" #include "esp_rom_gpio.h" #include "esp32h2/rom/spi_flash.h" #include "s...
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/src/bootloader_flash_config_esp32h4.c
null
null
null
null
null
null
C
2026-05-04T19:40:49.946228
/* * SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <stdbool.h> #include <assert.h> #include "string.h" #include "sdkconfig.h" #include "esp_err.h" #include "esp_log.h" #include "esp_rom_gpio.h" #include "esp_rom_efuse.h" #include "rom/spi_flash....
espressif/esp-idf
https://github.com/espressif/esp-idf
null
null
null
null
17,962
null
null
apache-2.0
null
null
null
null
null
null
null
components/bootloader_support/bootloader_flash/src/bootloader_flash_config_esp32p4.c
null
null
null
null
null
null
C
2026-05-04T19:40:49.975686
/* * SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include <stdbool.h> #include <assert.h> #include "string.h" #include "sdkconfig.h" #include "esp_err.h" #include "esp_log.h" #include "esp_rom_gpio.h" #include "soc/spi_pins.h" #include "soc/spi_me...