Skip to content

Instantly share code, notes, and snippets.

/**
* @file cpuload.c
*
* Simple binary that creates CPU load. This allows developers to artificially
* induce a specified level of CPU load (e.g. to test how well certain code
* responds under high load).
*
* Copyright 2008 Allied Telesis Labs, New Zealand
*/
#include <stdlib.h>
output/mips64/busybox/new/install/bin/busybox: file format elf64-tradbigmips
output/mips64/busybox/new/install/bin/busybox
architecture: mips:octeon3, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x0000000120006c80
Program Header:
PHDR off 0x0000000000000040 vaddr 0x0000000120000040 paddr 0x0000000120000040 align 2**3
filesz 0x00000000000001c0 memsz 0x00000000000001c0 flags r--
@cpackham
cpackham / ppc64_e6500mc_defconfig
Created August 5, 2019 01:59
ppc64_e6500mc_defconfig
CONFIG_LOCALVERSION="-at1"
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
CONFIG_AUDIT=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_PREEMPT=y
CONFIG_TICK_CPU_ACCOUNTING=y
CONFIG_BSD_PROCESS_ACCT=y
@cpackham
cpackham / gist:653edb4fddba6205c863
Created September 19, 2015 09:29
output of: mips64el-buildroot-linux-gnu-gcc -dM -E - < /dev/null
#define __DBL_MIN_EXP__ (-1021)
#define __HQ_FBIT__ 15
#define __UINT_LEAST16_MAX__ 65535
#define __ATOMIC_ACQUIRE 2
#define __SFRACT_IBIT__ 0
#define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F
#define __UFRACT_MAX__ 0XFFFFP-16UR
#define __UINT_LEAST8_TYPE__ unsigned char
#define __DQ_FBIT__ 63
#define __INTMAX_C(c) c ## L