Hi Arnaldo,
I found two duplicate function prototypes 'wq_calc_node_cpumask' using
pfunct.
Is this a bug ?
$ pfunct -P /home/taeung/git/linux/kernel/workqueue.o | grep
wq_calc_node_cpumask
void wq_calc_node_cpumask(const struct workqueue_attrs * attrs, int
node, int cpu_going_down, cpumask_t * cpumask);
bool wq_calc_node_cpumask(const struct workqueue_attrs * attrs, int
node, int cpu_going_down, cpumask_t * cpumask);
So, I checked it like below:
$ readelf -s ~/git/linux/vmlinux | grep wq_calc_node_cpumask
5887: ffffffff810815e0 143 FUNC LOCAL DEFAULT 1
wq_calc_node_cpumask
$ addr2line -e ~/git/linux/vmlinux ffffffff810815e0
/home/taeung/git/linux/kernel/workqueue.c:3650
$ cd ~/git/linux
$ grep wq_calc_node_cpumask
kernel/workqueue.c
3627: * wq_calc_node_cpumask - calculate a wq_attrs' cpumask for the
specified node
3648:static bool wq_calc_node_cpumask(const struct workqueue_attrs
*attrs, int node,
3766: if (wq_calc_node_cpumask(new_attrs, node, -1, tmp_attrs->cpumask)) {
3938: if (wq_calc_node_cpumask(wq->dfl_pwq->pool->attrs, node, cpu_off,
cpumask)) {
Or, the dwarf info of vmlinux was wrongly made up ?
Thanks,
Taeung