sched_getaffinity: multicore userland breakpoint actually worked this time

Move docs to README
This commit is contained in:
Ciro Santilli
2018-07-10 15:36:10 +01:00
parent d34a8a3e9f
commit 4e897e85fb
3 changed files with 76 additions and 7 deletions

View File

@@ -1,6 +1,4 @@
/*
upstream; https://stackoverflow.com/questions/10490756/how-to-use-sched-getaffinity-and-sched-setaffinity-in-linux-from-c/50117787#50117787
*/
/* https://github.com/cirosantilli/linux-kernel-module-cheat#gdb-step-debug-multicore */
#define _GNU_SOURCE
#include <assert.h>