Skip to content

Commit c6d6d1f

Browse files
ctf: make blob size work in bits
Change-Id: I1c74d1d4da0b5edcf65f2fba1df92d07a9a542e3 Signed-off-by: Matthew Khouzam <[email protected]>
1 parent 9be58bd commit c6d6d1f

File tree

1 file changed

+1
-4
lines changed
  • ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/event/types

1 file changed

+1
-4
lines changed

ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/event/types/BlobDeclaration.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,9 @@ public long getAlignment() {
8686
return 8;
8787
}
8888

89-
/**
90-
* Arbitrary decision to have maximum size as 1MB
91-
*/
9289
@Override
9390
public int getMaximumSize() {
94-
return Math.min(fLength, 1000000);
91+
return fLength*8;
9592
}
9693

9794
@Override

0 commit comments

Comments
 (0)