Hi - On Wed, Apr 16, 2008 at 05:51:24PM +0200, Peter Zijlstra wrote:That, plus the new hand-written function (trace_futex_wait) would still need to manage the packaging of the arguments for consumption by separately compiled pieces. It is desirable not to require such hand-written functions to *also* be declared in headers for these event consumers to compile against. The main thing is type checking by engaging gcc's printf format checking logic. In my original markers proposal, the types were encoded into the function name, sort of as in C++: trace_mark_nnnnn(futex_wake_called, uaddr, fshares, val, abs_time, bitset); where each "n" stands for some integral value, and could be chosen amongst a small number of other types (say -- "s": char* string, "p": void*, "l":64-bit long). Then, type checking could be done by the core compiler for both event producers and consumers. One downside was that the trace_mark_* permutations themselves would have to be generated by some shell/perl script [1], and some deemed this probably unacceptable. I'm still not sure... [1] some systemtap archaeology: http://sourceware.org/git/?p=systemtap.git;a=commit;h=b171146c8e8d4fa749b8829c47750750... This second instance is optional and is used as a consistency check for the event consumer to hook up exactly to the intended producer. The string could be empty. - FChE --
| Rafael J. Wysocki | [Bug #11355] Regression in 2.6.27-rc2 when cross-building the kernel |
| David Miller | [GIT]: Networking |
| Robin Lee Powell | NFS hang + umount -f: better behaviour requested. |
| Artem Bityutskiy | [PATCH 11/22 take 3] UBI: user-interfaces unit |
git: | |
| David Symonds | Re: I don't want the .git directory next to my code. |
| Petr Baudis | [ANNOUNCE] TopGit - A different patch queue manager |
| Daniel Barkalow | Non-http dumb protocols |
| Kevin Ballard | Re: git on MacOSX and files with decomposed utf-8 file names |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Linus Benedict Torvalds | Trying to answer ... |
| Linus Torvalds | Re: mget / mput = bad director components |
| Gerard A. Allan | BUG REPORT --- call chsvga (really call getkey) |
| c l | site-to-site vpn 4.0 to cisco 3000 |
| Darren Spruell | Re: OpenBSD as Virtualbox guest |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
