Skip to content

Commit 600ec6f

Browse files
Merge pull request #2424 from secondlife/brad/cherry-picks-hot-logging
Fast track some changes removing unneeded logging code into DeltaFPS
2 parents e5fd685 + 316f0f0 commit 600ec6f

15 files changed

+0
-395
lines changed

indra/llappearance/llpolyskeletaldistortion.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#include "llpolymorph.h"
3535
#include "llwearable.h"
3636
#include "llfasttimer.h"
37-
#include "llcallstack.h"
3837

3938
#include "llpolyskeletaldistortion.h"
4039

@@ -204,11 +203,6 @@ void LLPolySkeletalDistortion::apply( ESex avatar_sex )
204203
// needed?
205204
// joint->storeScaleForReset( newScale );
206205

207-
// BENTO for detailed stack tracing of params.
208-
std::stringstream ostr;
209-
ostr << "LLPolySkeletalDistortion::apply, id " << getID() << " " << getName() << " effective wt " << effective_weight << " last wt " << mLastWeight << " scaleDelta " << scaleDelta << " offset " << offset;
210-
LLScopedContextString str(ostr.str());
211-
212206
joint->setScale(newScale, true);
213207
}
214208

indra/llcharacter/lljoint.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#include "lljoint.h"
3333

3434
#include "llmath.h"
35-
#include "llcallstack.h"
3635
#include <boost/algorithm/string.hpp>
3736

3837
S32 LLJoint::sNumUpdates = 0;
@@ -342,20 +341,14 @@ void LLJoint::setPosition( const LLVector3& requested_pos, bool apply_attachment
342341
{
343342
if (pos != active_override && do_debug_joint(getName()))
344343
{
345-
LLScopedContextString str("setPosition");
346344
LL_DEBUGS("Avatar") << " joint " << getName() << " requested_pos " << requested_pos
347345
<< " overriden by attachment " << active_override << LL_ENDL;
348346
}
349347
pos = active_override;
350348
}
351349
if ((pos != getPosition()) && do_debug_joint(getName()))
352350
{
353-
LLScopedContextString str("setPosition");
354-
LLCallStack cs;
355-
LLContextStatus con_status;
356351
LL_DEBUGS("Avatar") << " joint " << getName() << " set pos " << pos << LL_ENDL;
357-
LL_DEBUGS("Avatar") << "CONTEXT:\n" << "====================\n" << con_status << "====================" << LL_ENDL;
358-
LL_DEBUGS("Avatar") << "STACK:\n" << "====================\n" << cs << "====================" << LL_ENDL;
359352
}
360353
if (pos != getPosition())
361354
{
@@ -879,20 +872,14 @@ void LLJoint::setScale( const LLVector3& requested_scale, bool apply_attachment_
879872
{
880873
if (scale != active_override && do_debug_joint(getName()))
881874
{
882-
LLScopedContextString str("setScale");
883875
LL_DEBUGS("Avatar") << " joint " << getName() << " requested_scale " << requested_scale
884876
<< " overriden by attachment " << active_override << LL_ENDL;
885877
}
886878
scale = active_override;
887879
}
888880
if ((mXform.getScale() != scale) && do_debug_joint(getName()))
889881
{
890-
LLScopedContextString str("setScale");
891-
LLCallStack cs;
892-
LLContextStatus con_status;
893882
LL_DEBUGS("Avatar") << " joint " << getName() << " set scale " << scale << LL_ENDL;
894-
LL_DEBUGS("Avatar") << "CONTEXT:\n" << "====================\n" << con_status << LL_ENDL;
895-
LL_DEBUGS("Avatar") << "STACK:\n" << "====================\n" << cs << "====================" << LL_ENDL;
896883
}
897884
mXform.setScale(scale);
898885
touch();

indra/llcommon/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ set(llcommon_SOURCE_FILES
2626
llbase64.cpp
2727
llbitpack.cpp
2828
llcallbacklist.cpp
29-
llcallstack.cpp
3029
llcleanup.cpp
3130
llcommon.cpp
3231
llcommonutils.cpp
@@ -134,7 +133,6 @@ set(llcommon_HEADER_FILES
134133
llbitpack.h
135134
llboost.h
136135
llcallbacklist.h
137-
llcallstack.h
138136
llcleanup.h
139137
llcommon.h
140138
llcommonutils.h

indra/llcommon/llcallstack.cpp

Lines changed: 0 additions & 188 deletions
This file was deleted.

indra/llcommon/llcallstack.h

Lines changed: 0 additions & 87 deletions
This file was deleted.

indra/llprimitive/llprimitive.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,8 +1126,6 @@ namespace
11261126
{
11271127
const size_t size(sizeof(T));
11281128

1129-
LL_DEBUGS("TEXTUREENTRY") << "Request to read items of size " << size << " with swizzle " << type << " froum buffer sized " << (source_end - source) << LL_ENDL;
1130-
11311129
if ((source + size + 1) > source_end)
11321130
{
11331131
// we add 1 above to take into account the byte that we know must follow the value.

0 commit comments

Comments
 (0)