Project

General

Profile

Bug #1731

DTrace NFS translators should be split into client/server pieces

Added by Rich Lowe about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2011-11-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

When the system is built using DWARF as the debug format (prior to CTF conversion) unused types are pruned by the compiler.

This means that the NFS types are not present in 'genunix', and nfs.d must be split into 'nfssrv.d' (for the server, depending on nfssrv) and 'nfs.d' (the client, depending on 'nfs' rather than 'genunix).

This is not a problem with Studio, because we force studio to generate stabs, and when doing so studio does not prune unused types.

This can be easily verified by building a simple file containing types which are unused, first with gcc, second with cc, and third with cc -xdebugformat=stabs, ctfconverting them, and ctfdumping the result. With DWARF, both Studio and GCC prune unused type data

History

#1

Updated by Rich Lowe about 8 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 80
  • Tags deleted (needs-triage)
#2

Updated by Rich Lowe about 8 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 80 to 100

Resolved in r13523 commit:6763769941d2

Also available in: Atom PDF