All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] btf_loader support for subprogram linkage
@ 2024-08-23 21:28 Will Hawkins
  2024-08-23 21:28 ` [PATCH 1/1] btf_loader: Support linkages for BTF subprograms Will Hawkins
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Will Hawkins @ 2024-08-23 21:28 UTC (permalink / raw)
  To: dwarves; +Cc: Will Hawkins

First, 

I am a huge fan of pahole (and friends). I volunteered to work on
helping to edit the BTF spec for the IETF and so I've started to look
more deeply at BTF and the tools. 

Second, I hope that what I am offering is being sent to the right place
and is in the right format. I tried to follow what seems to be the
"right thing" by looking at mailing list archives.

This patch add supports to the btf_loader for subprogram (BTF_KIND_FUNC)
linkages. For example,

```
$ cat a.c
static int x() {
  return 5;
}
$ gcc -gbtf -g -O0 -c a.c 
$ ~/code/pahole/build/pfunct -Fbtf --compile a.o
int x(void) /* linkage=static */
{
	return 0;
}
```

Sincerely,
Will

Will Hawkins (1):
  btf_loader: Support linkages for BTF subprograms

 btf_loader.c | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-08-27 21:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23 21:28 [PATCH 0/1] btf_loader support for subprogram linkage Will Hawkins
2024-08-23 21:28 ` [PATCH 1/1] btf_loader: Support linkages for BTF subprograms Will Hawkins
2024-08-26  7:50   ` Alan Maguire
2024-08-26 14:52 ` [PATCH 0/1] btf_loader support for subprogram linkage Arnaldo Carvalho de Melo
2024-08-26 14:53   ` Arnaldo Carvalho de Melo
2024-08-26 14:58     ` Arnaldo Carvalho de Melo
2024-08-26 16:36       ` Will Hawkins
2024-08-26 20:00         ` Arnaldo Carvalho de Melo
2024-08-26 20:24           ` Will Hawkins
2024-08-26 14:55   ` Will Hawkins
2024-08-27  4:09 ` [PATCH v2 " Will Hawkins
2024-08-27 14:37   ` Arnaldo Carvalho de Melo
2024-08-27 21:15     ` Will Hawkins
2024-08-27  4:09 ` [PATCH v2 1/1] btf_loader: Support linkages for BTF subprograms Will Hawkins

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.