Project

General

Profile

Bug #912

lurking remnants of PROF and GPROF builds should be removed

Added by Rich Lowe over 8 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Start date:
2011-04-17
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:

Description

Trying to discover why mutex_enter on x86 wasn't found by opengrok recently, I stumbled into ENTRY_NP() which is much like ENTRY, except it includes a call to MCOUNT, MCOUNT is defined conditionally to call _mcount in PROF and GPROF builds (suggesting that _NP is "no profiling"). Since the PROF and GPROF builds have long since been removed (6417866, July 2006), we could define ENTRY_NP and ENTRY to be the same (at the very least). If there are few consumers, they could probably all be switched to ENTRY and ENTRY_NP actually removed. ENTRY2/ENTRY_NP2 should probably be treated similarly.

Also available in: Atom PDF