Skip to contentSkip to conversation

Graphic: userspace headers interdependencies

DISCUSSION Adrian Bunk 2 participants 3 messages Jul 23, 2006

lore
Share & tools
lore
#0 lore raw

I've written a quick'n'dirty script for visualizing the interdependencies of the i386 userspace headers in 2.6.18-rc2.

In case anyone is interested, it's at [1] (warning: it's big).

The graphic also shows some problems like headers including not exported headers. I'm currently working on fixing such issues in my hdrcleanup tree.

cu
Adrian

[1] http://ftp.kernel.org/pub/linux/kernel/people/bunk/hdrcleanup/graphics/userspace-headers-i386-2.6.18-rc2.png

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#1 lore raw
Quoted 8 lines · Adrian Bunk

I've written a quick'n'dirty script for visualizing the interdependencies of the i386 userspace headers in 2.6.18-rc2.

In case anyone is interested, it's at [1] (warning: it's big).

The graphic also shows some problems like headers including not exported headers. I'm currently working on fixing such issues in my hdrcleanup tree.

[PATCH] mqueue.h: don't include linux/types.h

include/linux/mqueue.h +0 -2
@@ -18,8 +18,6 @@
 #ifndef _LINUX_MQUEUE_H
 #define _LINUX_MQUEUE_H
 
-#include <linux/types.h>
-
 #define MQ_PRIO_MAX 	32768
 /* per-uid limit of kernel memory used by mqueue, in bytes */
 #define MQ_BYTES_MAX	819200
author Applied
#2 lore raw
Quoted 4 lines · Alexey Dobriyan
Quoted 3 lines · Adrian Bunk

I've written a quick'n'dirty script for visualizing the interdependencies of the i386 userspace headers in 2.6.18-rc2.

Quoted 8 lines
Quoted 5 lines

In case anyone is interested, it's at [1] (warning: it's big).

The graphic also shows some problems like headers including not exported headers. I'm currently working on fixing such issues in my hdrcleanup tree.

[PATCH] mqueue.h: don't include linux/types.h
...

Thanks, applied to the hdrcleanup tree.

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed