Your heritage at that (extremely long span of ) time might be a small shrew/rat/squirrel like creature that scuttled around at the time of large dinosaurs. Probably hiding from the the small to medium sized dinos. Too small to be of note to the large ones. Adaptable enough to survive the mass extinction - maybe small, agile, mobile, omnivorous and so on.
This is a contender for an early primate - maybe - I think the fossil record is a lot less complete and harder to interpret for smaller creatures.
https://en.wikipedia.org/wiki/Purgatorius
Of course the dinos changed a lot over that time - as would the mammals. I think Purgatorius is from near the K-T extinction.
There were other larger mammmals around but probably none much bigger than a wolf / lynx/ capybara type thing. I think those types are considered less likely to have evolved into primates and also some might have evolved and re-evolved into something else many millions of years before the K-T extinction.
dang... i think that is a very long time ago in human terms but still it's amazing how fast time flies, well at least we got cool dino-like reptiles. oh well thanks!!
Not my area, but I think you need to go back much further than the dinosaurs for a common ancestor. I'm sure someone with actual knowledge will educate us in the comments.